New
0.7.1
- Add a new
contextoptional argument tologger.add()specifyingmultiprocessingcontext (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
Exceptioninstances while usingenqueue=True(#329). - Fix possible errors raised when logging non-picklable
Exceptioninstances while usingenqueue=True(#342, thanks @ncoudene). - Fix missing seconds and microseconds when formatting timezone offset that requires such accuracy (#961).
- Raise
ValueErrorif an attempt to use nanosecond precision for time formatting is detected (#855).