Smooth-logger

Latest version: v1.0.2

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

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`, 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**: https://github.com/MurdoMaclachlan/smooth_logger/compare/c19516df72fa650b14621aa1d6d2905253bf3e64...fe8ca24e81e19e54b134ed4702e10e772bb41a34

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.