Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Logger: Add support for toggling sub logger name output for log events #407
I want to see where a log is coming from sometimes. I've added a new field to show which sublogger the log is coming from, but its false by default since it can be wordy.
This is what it looks like:
Type of change
How has this been tested
Added a new test.
Am a fan of adding the sub logger but not a fan of the header/spacing changes. We already give the ability for a user to customise the headers/spacing/timestamp under advanced settings in the logging section which doesn't change the defaults for everyone else
@@ Coverage Diff @@ ## master #407 +/- ## ========================================== - Coverage 41.09% 41.08% -0.01% ========================================== Files 163 163 Lines 39042 39049 +7 ========================================== + Hits 16043 16045 +2 - Misses 21858 21863 +5 Partials 1141 1141
xtda left a comment
Awesome feature was something I originally wanted but never got round to doing it
With the push this morning to remove the omitempty can we also get it added to config_example.json as its a handy feature to let users know of anyway?