Skip to content

Releases: serhez/mloggers

1.3.4

22 May 11:14
Compare
Choose a tag to compare

The ConsoleLogger now serializes objects.

Full Changelog: 1.3.3...1.3.4

1.3.3

16 May 14:34
Compare
Choose a tag to compare

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

16 May 13:00
Compare
Choose a tag to compare

Thorough attempts to JSON-serialize objects in the FileLogger.

Full Changelog: 1.3.1...1.3.2

1.3.1

24 Apr 18:31
Compare
Choose a tag to compare

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

24 Apr 16:50
Compare
Choose a tag to compare

Breaking changes

  • set_level is now set_min_priority.
  • The default_level argument in the Logger.__init__ method is now called default_priority.

Full Changelog: 1.2.1...1.3.0

1.2.1

23 Apr 17:39
Compare
Choose a tag to compare

New OptionalLogger, read the README for more.

Full Changelog: 1.2.0...1.2.1

1.2.0

17 Apr 17:54
Compare
Choose a tag to compare

What's Changed

  • Added support for multiple arguments in logger by @merlerm in #2

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

15 Apr 14:07
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.1.6...1.1.7

1.1.6

09 Apr 17:34
Compare
Choose a tag to compare

Full Changelog: 1.1.5...1.1.6

1.1.5

07 Mar 18:23
Compare
Choose a tag to compare

FileLogger: create dirs if they don't exist for log file.

Full Changelog: 1.1.4...1.1.5