-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[utils] CLog: add Log and LogFunction function with additional component parameter #12676
Conversation
Makes sense IMO but right now it only compiles on windows. |
Makes sense to me too. Most of the code I write uses: It looks like gcc provides But |
08ce636
to
06bbead
Compare
now it compiles on all platforms |
Description
Add additional
Log
andLogFunction
functions to theCLog
class which take a component parameter. The Functions check if component logging for that component is enabled and log in that case otherwise they do nothing.Motivation and Context
make component logging easier
How Has This Been Tested?
compiled for windows
Types of change
Checklist: