loguru icon indicating copy to clipboard operation
loguru copied to clipboard

Python logging made (stupidly) simple

Results 296 loguru issues
Sort by recently updated
recently updated
newest added

I wanted to know if there is some way to save the logs from Loguru in Azure App Insights? I know that logs are written automatically to App Insights when...

question

Any plans to publish a new version with the changes from the past year?

My searching through the docs and issues didn't lead me to much, but it's always possible I've just missed something, so I apologize in advance if that has been asked...

I'm experiencing the following error, after some attempts and searching in previous issues I haven't found a solution yet: ```bash --- Logging error in Loguru Handler #2 --- Record was:...

question

...and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead. Triggered by: ```pytb .venvs/3.14/lib/python3.14/site-packages/loguru/_simple_sinks.py:13: in __init__ self._completable = asyncio.iscoroutinefunction(getattr(stream, "complete", None)) ``` Just started getting these deprecation warnings while running...

Hello, I'm trying to debug an issue I'm seeing in my GHA CI job where I get this error `--- Logging error in Loguru Handler #1 --- Record was: {'elapsed':...

question

Hey, I'm trying the last release on OpenBSD and one test fails as: ``` _______________________ test_await_complete_inheritance ________________________ capsys = fork_context = > ??? E AssertionError: assert 1 == 0 E...

Is there any way to add loguru's beautiful traceback (like that when adding `backtrace=True, diagnose=True` to log) to CUSTOM JSON log? For example for ```python from loguru import logger import...

question

Added advanced configuration options, best practices, and troubleshooting tips, users can better leverage Loguru's features and integrate it more effectively into their projects. ### Advanced Configuration: Logging to Multiple Destinations...

TypeError: '>=' not supported between instances of 'RecordException' and 'int' at .extract ( /usr/local/lib/python3.10/traceback.py:357 ) at .__init__ ( /usr/local/lib/python3.10/site-packages/exceptiongroup/_formatting.py:96 ) at .print_exception ( /usr/local/lib/python3.10/traceback.py:119 ) at .print_exc ( /usr/local/lib/python3.10/traceback.py:179 )...