Styledlogger

Latest version: v0.1.4

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

Scan your dependencies

Page 1 of 2

0.1.4

A quite large update from 0.1.3, including some breaking changes.

This build is tested and ready for production. Examples can be found under the `examples` folder.

Changes:
- The add_callback method is deprecated and removed, decorate your function with `StyledLogger.decorator()` to register a callback.
- Wrote some examples under the `examples` folder.
- Wrote automated unittests to test pull requests against the supported versions.
- Added proper support for filestreams for performance benefits.
- Fixed a LOT of minor bugs.

**Full Changelog**: https://github.com/barealek/StyledLogger/compare/0.1.3...0.1.4

0.1.3

Another small update with breaking changes from 0.1.2

This build is tested and ready for usage in production. A quick usage example can be found on the main repo page.

Changes:
- Callbacks can now take in a single level, or multiple through tuples.
- Receive callback context through the `CallbackContext` object.
- Added some more documentation in the project

**Full Changelog**: https://github.com/barealek/StyledLogger/compare/0.1.2...0.1.3

0.1.2

A release containing some breaking changes

This build is tested and ready for usage in production. A quick usage example can be found on the main repo page.

Changes:
- Callbacks have been reworked to function through decorators. Register them using `logger.callback(name, level)`.
- Refactor some of the loggers code to smaller functions.

**Full Changelog**: https://github.com/barealek/StyledLogger/compare/0.1.1...0.1.2

0.1.1

A minor update adding a few fixes and features.

This build is tested and ready for usage in production. A quick usage example can be found on the main repo page.

Changes:
- Added callbacks! Create a callback object from `styledlogger.Callback`, and register them using `StyledLogger.add_callback()`.
- Format the codebase with BLACK.

**Full Changelog**: https://github.com/barealek/StyledLogger/compare/0.1.0...0.1.1

0.1.0

The first release suitable for production.

Builds from now on are tested and ready for usage in production. A quick usage example can be found on the main repo page.

Changes:
- Version 0.1.0 adds support for file logging with file streams.

0.0.5

Adds support for the `StyledLogger.system()` logging method. This log method bypasses the log level.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.