Skip to content

1.2.0

Compare
Choose a tag to compare
@serhez serhez released this 17 Apr 17:54
· 7 commits to master since this release

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