Colorlogging

Latest version: v0.3.5

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

Scan your dependencies

Page 1 of 2

0.3.5

- Added option to set default call location for log messages

0.3.4

- Updated type for "call_loc" argument (dict -> string)
- Added option to log to file with "log" function (simple logging)

0.3.3

- If ColorLogger is initialized with "file_level='disable'", a log directory and log file will not be created
- Support for changing file logging directory
- Level properties now return string values
- 'critical' and 'warning' levels are synonymous with 'crit' and 'warn' respectively
- If the logger is disabled, property returns 'disable'
- Added unit tests for the above changes

0.3.2

0.3.1

- Wrapped colorama.init() in a use_color conditional, properly disabling coloring if not desired

0.3.0

- Added the "log" function for simpler logging

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.