7mind / izumi

Productivity-oriented collection of lightweight fancy stuff for Scala toolchain
https://izumi.7mind.io
BSD 2-Clause "Simplified" License
613 stars 66 forks source link

Better logger config #2170

Open pshirshov opened 4 weeks ago

pshirshov commented 4 weeks ago

Major cleanup. Switched to WildcardPrefixTree

There are several important improvements:

  1. Logging rules now support wildcards (my.package.*.something)
  2. ConfigurableLogRouter now supports specifying different sinks for different prefixes (previously it only supported one set of sinks). This can be configured programmatically but not in the config (yet?)
codecov[bot] commented 4 weeks ago

Codecov Report

Attention: Patch coverage is 74.19355% with 40 lines in your changes missing coverage. Please review.

Project coverage is 66.56%. Comparing base (3b78e62) to head (5617a5e). Report is 1 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #2170 +/- ## ======================================== Coverage 66.55% 66.56% ======================================== Files 592 593 +1 Lines 11533 11566 +33 Branches 1316 1331 +15 ======================================== + Hits 7676 7699 +23 - Misses 3857 3867 +10 ```