Overview of Loguru features
masterLoguru is designed to make Python logging enjoyable and powerful by reducing boilerplate and solving common pain points found in standard logging libraries. Key features include:
- Zero Boilerplate: Ready to use immediately with
from loguru import logger. - Unified API: Replaces the need for separate Handlers, Formatters, and Filters with a single function.
- Advanced File Management: Built-in support for rotation, retention, and compression.
- Modern Formatting: Uses braces-style string formatting.
- Robust Exception Handling: Catches exceptions within threads or the main process and provides fully descriptive exceptions.
- Concurrency Support: Asynchronous, thread-safe, and multiprocess-safe.
- Rich Output: Pretty logging with colors.
- Compatibility: Entirely compatible with the standard Python
loggingmodule and suitable for both scripts and libraries.