invenia / Memento.jl

A flexible logging library for Julia
https://invenia.github.io/Memento.jl/latest
Other
88 stars 14 forks source link

Updated propagation rules #54

Closed rofinn closed 6 years ago

rofinn commented 6 years ago

Now a log record must pass all filters for a logger before attempting to propagate up the hierarchy which should more closely align with what python does. This should make it easier to silence noisy packages at the cost of making it a bit more tedious to get lower priority messages (e.g., debug, info, notice) from child loggers. Getting lower priority messages from child loggers now requires that you either change the level for each logger along the chain... or add a specific handler to the child logger.

Closes #42

codecov[bot] commented 6 years ago

Codecov Report

Merging #54 into master will increase coverage by 0.12%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
+ Coverage   99.04%   99.16%   +0.12%     
==========================================
  Files           8        8              
  Lines         209      239      +30     
==========================================
+ Hits          207      237      +30     
  Misses          2        2
Impacted Files Coverage Δ
src/loggers.jl 100% <100%> (ø) :arrow_up:
src/handlers.jl 96.92% <0%> (+2.63%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 536770f...c33de59. Read the comment docs.