Releases: serhez/mloggers
1.3.4
1.3.3
Fixed a bug where serialization of message objects would modify the original object via reference.
Full Changelog: 1.3.2...1.3.3
1.3.2
Thorough attempts to JSON-serialize objects in the FileLogger
.
Full Changelog: 1.3.1...1.3.2
1.3.1
Lists and numpy
arrays are now properly supported as messages (or as values within a dictionary).
Full Changelog: 1.3.0...1.3.1
1.3.0
Breaking changes
set_level
is nowset_min_priority
.- The
default_level
argument in theLogger.__init__
method is now calleddefault_priority
.
Full Changelog: 1.2.1...1.3.0
1.2.1
New OptionalLogger
, read the README for more.
Full Changelog: 1.2.0...1.2.1
1.2.0
What's Changed
Breaking changes
Since now the log function can take any number of messages, all additional parameters (like level
or mask
) have to be passed explicitly. For example, in the previous version the code logger.log("message", LogLevel.WARN)
would work properly, but in this version the result would be both items get converted to strings and logged (as there is no way for the function to know where the level was supposed to be). The correct way to use the function is now only logger.log("message", level=LogLevel.WARN)
.
Full Changelog: 1.1.7...1.2.0
1.1.7
1.1.6
Full Changelog: 1.1.5...1.1.6
1.1.5
FileLogger
: create dirs if they don't exist for log file.
Full Changelog: 1.1.4...1.1.5