Releases: invenia/Memento.jl
v0.6.0
v0.5.1
v0.5.0
NOTES
Adding Handlers and Filters
Adding handlers and filters to loggers is now push!(logger, Union{Handler, Filter})
(vs add_handler(logger, handler, name)
). Similarly, you can now add filters to handlers can also be done with push!(handler, filter)
.
Logger Hierarchy Propagation
Propagation through the logger hierarchy has changed significantly. Previously, when logger.propagate == true
(default) log records would always propagate to parent loggers. This approach made it easy for log records to propagate up to the root logger's default handler, but made it more difficult to silence noisy loggers. Now, a record must pass all filters for a child logger before the record will propagate up to its parent logger. This approach makes it easier to silence child loggers (just change level on the logger), but it is slightly harder to get debug
, info
and notice
messages from child loggers (either recursively update all loggers in the hierarchy or add a handler to the child logger directly).
Other Changes
The API was also significantly changed to be more julia. Mutating methods now end with an !
and multi-word function names no longer use _
.
v0.4.0
- Dropped Julia 0.5 support
- Nightly deprecation fixes
- Do-block syntax for
set_level
(only change the logger level for some piece of code like some test cases) - Deprecated the builtin
Syslog
type as it has been moved to Syslogs.jl - Deprecated the
JsonFormatter
in favour of a more generalDictFormatter
which can take a function converting theDict
to aString
(e.g.,JSON.json
)
v0.3.2
v0.3.1
v0.3.0
v0.2.0: Merge pull request #27 from invenia/test-0.6
Fixes 0.6 deprecation warnings using Compat.
NOTE: opted for a minor release since this changes the requirements.