pypi loguru 0.7.1

latest release: 0.7.2
7 months ago
  • Add a new context optional argument to logger.add() specifying multiprocessing 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 using enqueue=True (#329).
  • Fix possible errors raised when logging non-picklable Exception instances while using enqueue=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).

Don't miss a new loguru release

NewReleases is sending notifications on new releases.