Python logging component providing a single object
which dispatches log messages to configured handlers.
Provides
Requires
License
MIT
Changelog
* Tue May 12 2026 Steve Kowalik <steven.kowalik@suse.com>
- Skip the mypy portion of the testsuite, it is incredibly brittle.
- Drop patch support-new-mypy.patch, no longer required.
* Wed Nov 12 2025 Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-python314.patch:
* Support Python 3.14 repr() changes.
- Removed uneeded BuildRequires on pytest-mypy.
* Fri Aug 01 2025 Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-new-mypy.patch:
* Support newer mypy than upstream.
* Wed May 07 2025 Guang Yee <gyee@suse.com>
- Update to 0.7.3
* Fix Cython incompatibility caused by the absence of underlying stack frames, which resulted in a ValueError during logging (#88).
* Fix possible RuntimeError when removing all handlers with logger.remove() due to thread-safety issue (#1183)
* Fix diagnose=True option of exception formatting not working as expected with Python 3.13 (#1235).
* Fix non-standard level names not fully compatible with logging.Formatter() (#1231).
* Fix inability to display a literal "\" immediately before color markups (#988).
* Fix possible infinite recursion when an exception is raised from a __repr__ method decorated with logger.catch() (#1044).
* Improve performance of datetime formatting while logging messages (#1201).
* Reduce startup time in the presence of installed but unused IPython third-party library (#1001).
- Remove py313.patch and py314.patch as they had landed in 0.7.3
* Mon Oct 28 2024 Dirk Müller <dmueller@suse.com>
- add py313.patch, py314.patch: fixes for python 3.13 and 3.14
* Thu Oct 05 2023 Dirk Müller <dmueller@suse.com>
- update to 0.7.2:
* Add support for formatting of `ExceptionGroup` errors (#805).
* Fix possible `RuntimeError` when using
`multiprocessing.set_start_method()` after importing the
`logger` (#974).
* Fix formatting of possible `__notes__` attached to an
`Exception` (#980).
- update to 0.7.1:
* 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
* 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 `""` and `""` color tags
* Fix possible untraceable errors raised when logging non-
unpicklable `Exception` instances while using `enqueue=True`
* 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
* Raise `ValueError` if an attempt to use nanosecond precision
for time formatting is detected
* Fri May 12 2023 Dirk Müller <dmueller@suse.com>
- drop optional mypy testing dependency
* Fri May 05 2023 Dirk Müller <dmueller@suse.com>
- update to 0.7.0:
* Update `InterceptHandler` recipe to make it compatible with
Python 3.11 (#654).
* Add a new `watch` optional argument to file sinks in order to
automatically re-create possibly deleted or changed file
(#471).
* Make `patch()` calls cumulative instead of overriding the
possibly existing patching function (#462).
* Make sinks added with `enqueue=True` and `catch=False` still
process logged messages in case of internal exception (#833).
* Avoid possible deadlocks caused by re-using the logger inside
a sink, a signal handler or a `__del__` method. Since the
logger is not re-entrant, such misuse will be detected and
will now generate a `RuntimeError` (#712, thanks
@jacksmith15).
* Fix file sink rotation using an aware `datetime.time` for
which the timezone was ignored (#697).
* Fix logs colorization not automatically enabled for Jupyter
Notebook and Google Colab (#494).
* Fix logs colorization not automatically enabled for Github
Actions and others CI platforms (#604).
* Fix `logger.complete()` possibly hanging forever when
`enqueue=True` and `catch=False` if internal thread killed
due to `Exception` raised by sink (#647).
* Fix incompatibility with `freezegun` library used to simulate
time (#600).
* Raise exception if `logger.catch()` is used to wrap a class
instead of a function to avoid unexpected behavior (#623).
- drop python311.patch, loguru-fix-repr-tests.patch: upstream
* Fri Apr 21 2023 Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
* Thu Apr 13 2023 Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
* Sat Jan 28 2023 Dirk Müller <dmueller@suse.com>
- add python311.patch to fix build with python 3.11
Files
/usr/lib/python3.13/site-packages/loguru
/usr/lib/python3.13/site-packages/loguru-0.7.3.dist-info
/usr/lib/python3.13/site-packages/loguru-0.7.3.dist-info/INSTALLER
/usr/lib/python3.13/site-packages/loguru-0.7.3.dist-info/METADATA
/usr/lib/python3.13/site-packages/loguru-0.7.3.dist-info/RECORD
/usr/lib/python3.13/site-packages/loguru-0.7.3.dist-info/REQUESTED
/usr/lib/python3.13/site-packages/loguru-0.7.3.dist-info/WHEEL
/usr/lib/python3.13/site-packages/loguru-0.7.3.dist-info/licenses
/usr/lib/python3.13/site-packages/loguru-0.7.3.dist-info/licenses/LICENSE
/usr/lib/python3.13/site-packages/loguru/__init__.py
/usr/lib/python3.13/site-packages/loguru/__init__.pyi
/usr/lib/python3.13/site-packages/loguru/__pycache__
/usr/lib/python3.13/site-packages/loguru/__pycache__/__init__.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/__init__.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_asyncio_loop.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_asyncio_loop.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_better_exceptions.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_better_exceptions.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_colorama.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_colorama.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_colorizer.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_colorizer.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_contextvars.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_contextvars.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_ctime_functions.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_ctime_functions.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_datetime.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_datetime.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_defaults.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_defaults.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_error_interceptor.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_error_interceptor.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_file_sink.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_file_sink.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_filters.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_filters.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_get_frame.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_get_frame.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_handler.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_handler.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_locks_machinery.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_locks_machinery.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_logger.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_logger.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_recattrs.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_recattrs.cpython-313.pyc
/usr/lib/python3.13/site-packages/loguru/__pycache__/_simple_sinks.c