Loguru v0.5.1 Release Notes
Release Date: 2020-06-12 // almost 3 years ago-
- 🌲 Modify the way the
extra
dict is used byLogRecord
in order to prevent possibleKeyError
with standardlogging
handlers (#271 <https://github.com/Delgan/loguru/issues/271>
_). - ➕ Add a new
default
optional argument tologger.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 usingserialize=True
in combination withlogger.catch()
orlogger.opt(record=True)
due to circular reference of therecord
dict (#286 <https://github.com/Delgan/loguru/issues/286>
_).
- 🌲 Modify the way the