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).
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](https://github.com/Delgan/loguru/issues/851) <https://github.com/Delgan/loguru/issues/851>_).
Add support for true colors on Windows using ANSI/VT console when available ([#934](https://github.com/Delgan/loguru/issues/934) <https://github.com/Delgan/loguru/issues/934>, thanks @tunaflsh <https://github.com/tunaflsh>).
Fix possible deadlock when calling logger.complete() with concurrent logging of an asynchronous sink ([#906](https://github.com/Delgan/loguru/issues/906) <https://github.com/Delgan/loguru/issues/906>_).
Fix file possibly rotating too early or too late when re-starting an application around midnight ([#894](https://github.com/Delgan/loguru/issues/894) <https://github.com/Delgan/loguru/issues/894>_).
Fix inverted "<hide>" and "<strike>" color tags ([#943](https://github.com/Delgan/loguru/issues/943) <https://github.com/Delgan/loguru/pull/943>, thanks @tunaflsh <https://github.com/tunaflsh>).
Fix possible untraceable errors raised when logging non-unpicklable Exception instances while using enqueue=True ([#329](https://github.com/Delgan/loguru/issues/329) <https://github.com/Delgan/loguru/issues/329>_).
Fix possible errors raised when logging non-picklable Exception instances while using enqueue=True ([#342](https://github.com/Delgan/loguru/issues/342) <https://github.com/Delgan/loguru/issues/342>, thanks @ncoudene <https://github.com/ncoudene>).
Fix missing seconds and microseconds when formatting timezone offset that requires such accuracy ([#961](https://github.com/Delgan/loguru/issues/961) <https://github.com/Delgan/loguru/issues/961>_).
Raise ValueError if an attempt to use nanosecond precision for time formatting is detected ([#855](https://github.com/Delgan/loguru/issues/855) <https://github.com/Delgan/loguru/issues/855>_).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps loguru from 0.7.0 to 0.7.1.
Release notes
Sourced from loguru's releases.
Changelog
Sourced from loguru's changelog.
Commits
5c7bc8b
Bump version to 0.7.180bcf4e
Update "opener" docs to use safe permissions (#953)8c2044e
Fix possible deadlock with "complete()" and async sink (#906)2c585a1
Improve typing of PropagateHandler and InterceptHandler901dc33
Remove ruff config excludes (#968)f339282
Bump sphinx from 5.3.0 to 7.2.5 (#964)7fa0d15
Upgrade minimum Python version required to build docsf5bfaf6
Bump sphinx-rtd-theme from 1.2.0 to 1.3.0 (#966)6735db7
Bump tox from 4.6.3 to 4.11.0 (#965)aeb6044
Replace flake8 and isort with ruff (#830)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show