github Delgan/loguru 0.4.1

latest releases: 0.7.2, 0.7.1, 0.7.0...
4 years ago
  • Deprecate the ansi parameter of .opt() in favor of colors which is a name more appropriate.
  • Prevent unrelated files and directories to be incorrectly collected thus causing errors during the retention process (#195, thanks @gazpachoking).
  • Strip color markups contained in record["message"] when logging with .opt(ansi=True) instead of leaving them as is (#198).
  • Ignore color markups contained in *args and **kwargs when logging with .opt(ansi=True), leave them as is instead of trying to use them to colorize the message which could cause undesirable errors (#197).

Don't miss a new loguru release

NewReleases is sending notifications on new releases.