Skip to content

0.2.0

Compare
Choose a tag to compare
@MurdoMaclachlan MurdoMaclachlan released this 27 Feb 15:15
· 42 commits to master since this release
fe8ca24

What's Changed

  • Added Logger.add_scope(), allowing addition of custom logging scopes. A new scope must be provided with a name and a value.
  • Added Logger.edit_scope(), allowing existing logging scopes to have their value changed during run-time.
  • Added support for passing a user defined config path in case of operating systems where automatic determination is not supported.
  • Added an optional argument, notify: bool, to Logger.new(), allowing a log message to be created and sent as a desktop notification in one function call.
  • Fixed Logger.get() not returning any entries if no specific scope is requested.
  • Moved LogEntry class to its own file.
  • Logger.define_output_path() is now private.
  • Logger.__get_time() now uses Logger.new() to log error messages.
  • Improvements in commenting, variable names, code structure, formatting and type hinting.

Full Changelog: c19516d...fe8ca24