loguru
loguru copied to clipboard
Python logging made (stupidly) simple
Hi! I've been trying to figure out how to dump stack trace on exception in loguru by default Consider this snippet: ``` from loguru import logger def throw() -> str:...
I am facing an issue where Loguru is not printing logs in my FastAPI application when running the app with Uvicorn. I've configured Loguru for logging, but no logs appear...
We already migrated the Readme (see ef12cbbaf54fb2e64ca66b0a90675cdf9e8a522f), we should also migrate the rest of the documentation for consistency and because Markdown is simpler overall.
See https://github.com/Delgan/loguru/issues/936. I feel using the OS thread id would more useful than the Python thread identifier. Especially because this can be mapped with external tools (such as Sentry). I...
```py import inspect import logging from loguru import logger class InterceptHandler(logging.Handler): def emit(self, record: logging.LogRecord) -> None: # Get corresponding Loguru level if it exists. try: level: str | int...
What would be the best way to log a Pandas DataFrame without experiencing spacing issues? Thank you!
Some frameworks/libraries produce very long stacks. Loguru already highlights the user frames using colors. I'd like to be able to hide framework frames altogether. I'd be happy to implement this...
Hi, Thank you so much for an excellent project! May I know if you have plans to integrate with S3 or GCS?
i just updated my loguru in project to newest 0.7.3 and now i need to manually add win32-setctime to make it work. I'm using poetry to manage my project dependencies....
Hi, when logging with loguru, messages are truncated by default after 128 symbols, see: https://github.com/Delgan/loguru/blob/633016db07e5dff63bc05dd3c4d5aa81b6190700/loguru/_better_exceptions.py#L346 While using e.g. `@logger.catch(reraise=True)` often relevant information is truncated. Currently, the only way I found...