Skip to content

Releases: T0ine34/gamuLogger

V3.2.2

10 Jun 17:46
Compare
Choose a tag to compare

Full Changelog: 3.2.1...3.2.2

V3.2.1

25 May 17:41
Compare
Choose a tag to compare

Added a method to show the process ID (PID).

Full Changelog: 3.2.0...3.2.1

V3.2.0

18 May 18:15
Compare
Choose a tag to compare

fixes

  • cli option --module-level wasn't available when allow_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 of Logger 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 of INFO. This allow to get all the logs by default for a target set in DEBUG or TRACE 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

04 May 20:00
03d4e5b
Compare
Choose a tag to compare

Fix issues 11 and 12

  • Modifying file handling in targets.py to create non-existing directories before writing files.
  • Updating validate_log_file to use rsplit for correctly parsing file paths containing colons.

What's Changed

Full Changelog: 3.1.3...3.1.4

V3.1.3

30 Apr 21:43
Compare
Choose a tag to compare

What's Changed

Updated classifiers on pypi

Full Changelog: 3.1.2...3.1.3

V3.1.2

30 Apr 21:07
Compare
Choose a tag to compare

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 cyan
    • DEBUG is back to blue

Full Changelog: 3.1.1...3.1.2

V3.1.1

25 Apr 20:06
Compare
Choose a tag to compare

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 for str|SupportsStr)
    • adding missing docstring for functions, files and classes.
  • renamed deep_debug to trace
    • the color of the debug level was changed to magenta, leaving the blue for the new trace level
    • the trace level will now show it's own name in the log (previously, deep_debug was logged as debug)
  • renamed critical to fatal
    • 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

25 Apr 20:03
Compare
Choose a tag to compare
V3.1.0 Pre-release
Pre-release

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 for str|SupportsStr)
    • adding missing docstring for functions, files and classes.
  • renamed deep_debug to trace
    • the color of the debug level was changed to magenta, leaving the blue for the new trace level
    • the trace level will now show it's own name in the log (previously, deep_debug was logged as debug)
  • renamed critical to fatal
    • 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

15 Nov 19:10
Compare
Choose a tag to compare
V3.0.2 Pre-release
Pre-release

Full Changelog: 3.0.1...3.0.2

V3.0.1

15 Nov 18:57
Compare
Choose a tag to compare
V3.0.1 Pre-release
Pre-release

Full Changelog: 3.0.0...3.0.1