Delgan

Results 609 comments of Delgan

Sorry but there is not enough information for me to help you. Please, try to provide a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) involving usage of Loguru. Right now, I don't understand how...

@LeeTunMT Would it be possible for you to please provide a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) so that I can investigate the problem?

Keep in mind there is only one global registry of the handlers. The `logger` is a facade toward these handlers. The `bind()` method is helpful to give context to messages...

There is currently no way to retrieve the formatted traceback. :/ Maybe you can use [`better_exceptions`](https://github.com/Qix-/better-exceptions) instead form which Loguru formatting is derived?

Thanks for the bug report. I'm sorry you've had trouble because of this. The logger was designed so that adding or removing handlers could be done in parallel with logging,...

@rliviero-gvb Yes, a release is coming soon.

Hi @mberdyshev. Using `enqueue=True` is indeed a possible workaround in order to be able to use the `logger` within the `rotation` function. I'm aware of the `SimpleQueue` problem, and I...

Have you tried to call `logger.complete()` before `assert_no_errors_logged()`? When `enqueue=True`, messages are not immediately logged: they are added to a queue and processed by a background thread. I think your...

> But hmm, does this mean I always have to call `logger.complete()` before `assert_no_errors_logged()`? Maybe that works as well if `logger.complete()` is called at the beginning of `assert_no_errors_logged()`? You can...