Loguru v0.5.1 Release Notes

Release Date: 2020-06-12 // almost 3 years ago
    • 🌲 Modify the way the extra dict is used by LogRecord in order to prevent possible KeyError with standard logging handlers (#271 <https://github.com/Delgan/loguru/issues/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 <https://github.com/Delgan/loguru/issues/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 <https://github.com/Delgan/loguru/issues/286>_).