3 ms·
Nice project! Python Loguru is a delight to use. Good luck! So, do you lose any feature, functionality or performance when using loguru as a log crate backend?
by goku12 2y ago
Nice project! Python Loguru is a delight to use. Good luck!
So, do you lose any feature, functionality or performance when using loguru as a log crate backend?
- jraghavan 2y agoThanks! Here are the main features - Multiple log levels: TRACE, DEBUG, INFO, SUCCESS, WARNING, ERROR, CRITICAL - Thread-safe global logger: Safe to use in multi-threaded applications - Extensible handler system: Console, file, and custom handlers - Configurable log formatting: Customize how log messages are displayed - Support for metadata in log records: Add structured data to log messages - Convenient logging macros: Easy to use macros for all log levels - File rotation: Automatic file rotation based on size with retention policies - Colorized output: Colorful console output for better readability - Source location capture: Automatically capture file, line, and module information - Ergonomic error handling and context helpers: Extension traits, error chain, panic hook, and macros Have tried to maintain parity with what i loved about loguru. Let me know if you think i missed anything here.