- Add a new
context
optional argument tologger.add()
specifyingmultiprocessing
context (like"spawn"
or"fork"
) to be used internally instead of the default one (#851). - Add support for true colors on Windows using ANSI/VT console when available (#934, thanks @tunaflsh).
- Fix possible deadlock when calling
logger.complete()
with concurrent logging of an asynchronous sink (#906). - Fix file possibly rotating too early or too late when re-starting an application around midnight (#894).
- Fix inverted
"<hide>"
and"<strike>"
color tags (#943, thanks @tunaflsh). - Fix possible untraceable errors raised when logging non-unpicklable
Exception
instances while usingenqueue=True
(#329). - Fix possible errors raised when logging non-picklable
Exception
instances while usingenqueue=True
(#342, thanks @ncoudene). - Fix missing seconds and microseconds when formatting timezone offset that requires such accuracy (#961).
- Raise
ValueError
if an attempt to use nanosecond precision for time formatting is detected (#855).