[LiveLogger] Plug the logger into minimum message importance checks
See original GitHub issueAs a perf optimization MSBuild can filter out verbose log output very early to speed up the build if no logger interested in low importance messages is enabled. LiveLogger is currently not recognized by this system, making it slower than the default console logger as configured in dotnet build
.
It should be as simple as adding a case here: https://github.com/dotnet/msbuild/blob/dfd8f413a80cd0865f968b2c0ad9b09c0df8c430/src/Build/BackEnd/Components/Logging/LoggingService.cs#L1630-L1644
Needless to say, LL must not actually consume any low importance messages for this to work.
Issue Analytics
- State:
- Created 7 months ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Logging HOWTO — Python 3.11.4 documentation
setLevel() specifies the lowest-severity log message a logger will handle, where debug is the lowest built-in severity level and critical is the highest...
Read more >Python Logging Levels Explained
Level: The level determines the minimum priority level of messages to log. Messages will be logged in order of increasing severity: DEBUG is...
Read more >Python Logging Best Practices: The Ultimate Guide
Read about Python logging best practices and how to get the best log monitoring setup for your organization. Learn what Python logging is ......
Read more >Logger (Java Platform SE 8 )
A Logger object is used to log messages for a specific system or application component. Loggers are normally named, using a hierarchical dot-separated ......
Read more >Node.js Logging with Winston
Log level is the piece of information in our code that indicates the importance of a specific log message. Using appropriate log levels...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think I would be comfortable with a string match on a fully-qualified type name in the code block in the OP.
Not a big fan of it, but it is a good enough hack for me, i think. I still would like to put some thought into LiveLogger location.