pypi loguru 0.5.1

latest releases: 0.7.2, 0.7.1, 0.7.0...
3 years ago
  • Modify the way the extra dict is used by LogRecord in order to prevent possible KeyError with standard logging handlers (#271).
  • Add a new default optional argument to logger.catch(), it should be the returned value by the decorated function in case an error occurred (#272).
  • Fix ValueError when using serialize=True in combination with logger.catch() or logger.opt(record=True) due to circular reference of the record dict (#286).

Don't miss a new loguru release

NewReleases is sending notifications on new releases.