Releases: T0ine34/gamuLogger
Releases · T0ine34/gamuLogger
V3.2.2
V3.2.1
Added a method to show the process ID (PID).
Full Changelog: 3.2.0...3.2.1
V3.2.0
fixes
- cli option
--module-level
wasn't available whenallow_other_targets
was set to True (#14) - an error was raised when parsing arguments when
allow_other_targets
was set to True (#15) - Method
message
ofLogger
was missing a newline at the end of the string when printing to the console (#16) - removed the
ValueError
raised when a word longer than 150 chars was encountered (#23) - adding a style reset at the start of each logging entry to prevent the text on the previous line to mess the next one. (#24)
new features
- logging functions are now just an alias for the homonym method of the
Logger
class. This should allow slighty better performances (#17) - Test coverage is now included in the test workflow, with reports availables (#18)
- default level for modules is now
TRACE
instead ofINFO
. This allow to get all the logs by default for a target set inDEBUG
orTRACE
mode. (Previously, it was necessary to use--module-level all:TRACE
to get this behaviour) (#20)
What's Changed
Full Changelog: 3.1.4...3.2.0
V3.1.4
V3.1.3
V3.1.2
What's Changed
- added a method to create a config for argparse
- added a new target type allowing to automatically change the logging file when it reach a defined condition based on his size or age. Also support automatic deletion of oldest files.
- it is now possible to set the logging level of a module independently of the rest of the program.
- added a new level
NONE
allowing to disable all levels (nothing will be logged). - fix indentation of text when multiple levels of modules was used.
- changed color of levels :
TRACE
is now cyanDEBUG
is back to blue
Full Changelog: 3.1.1...3.1.2
V3.1.1
Breaking changes
- Updating code to be pylint compliant :
- renaming function and method to snake_case
- upgrading type management, including adding custom types like
Message
(stand forstr|SupportsStr
) - adding missing docstring for functions, files and classes.
- renamed
deep_debug
totrace
- the color of the
debug
level was changed to magenta, leaving the blue for the newtrace
level - the
trace
level will now show it's own name in the log (previously,deep_debug
was logged asdebug
)
- the color of the
- renamed
critical
tofatal
- this allow the field of the level to be one character shorter, and most of others levels are now centered
- new config management class, simplifying the addition of future settings
- improved test coverage
Full Changelog: 3.0.2...3.1.1
V3.1.0
Breaking changes
- Updating code to be pylint compliant :
- renaming function and method to snake_case
- upgrading type management, including adding custom types like
Message
(stand forstr|SupportsStr
) - adding missing docstring for functions, files and classes.
- renamed
deep_debug
totrace
- the color of the
debug
level was changed to magenta, leaving the blue for the newtrace
level - the
trace
level will now show it's own name in the log (previously,deep_debug
was logged asdebug
)
- the color of the
- renamed
critical
tofatal
- this allow the field of the level to be one character shorter, and most of others levels are now centered
- new config management class, simplifying the addition of future settings
- improved test coverage
Full Changelog: 3.0.2...3.1.0
V3.0.2
Full Changelog: 3.0.1...3.0.2
V3.0.1
Full Changelog: 3.0.0...3.0.1