Objlog

Latest version: v2.1.5

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

Scan your dependencies

Page 2 of 3

2.0.0

> A new frontier

Major changes:

* __getitem__ and __iter__ dunder for `LogNode`
* `has()` and `has_errors()` methods for `LogNode`
* Syntax unpacking for `get()`, `has()` and `dump_messages_to_console()`
* Python Exceptions can now be logged and used in `get()` & `has()`
* `monitor` decorator lets you monitor and log python exceptions
* ability to squash log file in `squash` method
* performance improvements
* show milliseconds in log messages string and colored form.

deprecations:

* removed `timestamp` and `unix_timestamp` attributes from LogMessage

**Full Changelog**: https://github.com/Kokonico/ObjLog/compare/1.2.2...2.0.0

1.2.2

* changed argument of `get`'s default from being required to `None`

**Full Changelog**: https://github.com/Kokonico/ObjLog/compare/1.2.1...1.2.2

1.2.1

> minor changes, that's it.

* Widened versioning

**Full Changelog**: https://github.com/Kokonico/ObjLog/compare/1.2.0...1.2.1

1.2.0

> features, features, features

LogNode
* contains dunder method
* fixed error when using del keyword on LogNode
* Replaced internal message list with deque form collections
* performance improvements
* added squash method
* added wipe_log_file_on_init parameter

LogMessage
* Sanitization
* ne dunder
* error checking for LogMessage base class
* deprecated unix_timestamp value in place of unix

**Full Changelog**: https://github.com/Kokonico/ObjLog/compare/1.1.2...1.2.0

1.1.2

> You can never have too many fixes!

* Fixed ignored exception when deleting a log node with log_when_closed is enabled.
* Removed useless if statement when logging to a file.
* Test Files

**Full Changelog**: https://github.com/Kokonico/ObjLog/compare/1.1.1...1.1.2

1.1.1

> fixes, fixes, fixes

* fixed circular import issue introduced in 1.1.0.
* split base.py into LogMessage.py, and LogNode.py
* fixed set_max_messages_in_memory() not truncating the list of messages already stored in the LogNode.

while this release changes a lot for developing the internals of ObjLog, it WILL NOT affect the outer API.

**Full Changelog**: https://github.com/Kokonico/ObjLog/compare/1.1.0...1.1.1

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.