Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add log level numbers #151
When combing through logs, I find it's sometimes helpful to filter by a range of log levels. Currently this must be done by checking log level strings. This adds the number so it's easier to do such a check:
With only log levels:
With log level numbers:
Thanks for your contribution, I’ve added a few wishes.
- it needs a changelog entry.
- it would be nice if you could use double quotes
"-only in new code
- yes, it would be nice if you could fix the style issues too, so I don’t have to fix and rebase your PR
@@ Coverage Diff @@ ## master #151 +/- ## ===================================== Coverage 100% 100% ===================================== Files 13 13 Lines 810 813 +3 Branches 105 105 ===================================== + Hits 810 813 +3