loguru
loguru copied to clipboard
Python logging made (stupidly) simple
I've been using Loguru for a few months and so far, I love it! But I realized that we're missing sometimes, important logs in our reports / log files. For...
How to output the runtime of an interface or method?
I try to make my information output to different destination, like level info and higher infomartion output to file, debug information output to the console. Here's my code now: ```...
I'm trying to configure Loguru with OpenTelemetry Logging Instrumentation, but I'm not getting. I can see that `LoggingInstrumentor().instrument()` get the default factory of `loggin` and than add some controls, changing...
Hello, I am trying to figure out the best way to use `loguru` to log while also using a `rich` progress bar. In order to avoid formatting issues, it would...
Hi Delgan ! I was wondering if there was a way to disable the message formatting with the args/kwargs ? ```python from loguru import logger kwargs = {"a": 1, "b":...
loguru how to disable beautiful stack trace?
```python from loguru import logger logger.error("{ssss}", 'sss') ```` ### KeyError ```bash Traceback (most recent call last): File "/Users/sato/Desktop/rct/scrcpy_ai/buff_detection_srv/logger.py", line 6, in logger.error("{ssss}", 'sss') File "/Users/sato/.virtualenvs/scrcpy_ai/lib/python3.7/site-packages/loguru/_logger.py", line 1989, in error __self._log("ERROR",...
Hi, Do u have benchmarks versus aiologger, standard logger and etc? Looking for fast logging and would like to know if loguru is fast enough
Is is possible to have colours defined via markup syntax evaluate lazily? For example: ```python from loguru import logger logger.opt(colors=True, lazy=True).debug('Hello {}', lambda: 'World!') ``` Currently this only resolves the...