0.2.0
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
, toLogger.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 usesLogger.new()
to log error messages.- Improvements in commenting, variable names, code structure, formatting and type hinting.
Full Changelog: c19516d...fe8ca24