Home
Fast, Rust-powered Python logging inspired by loguru
14x faster than loguru, 4x faster than logging
Installation¶
Quick Start¶
import logust
logust.info("Hello, Logust!")
logust.debug("Debug message")
logust.warning("Warning message")
logust.error("Error message")
2025-12-24 15:52:42.199 | INFO | Hello, Logust!
2025-12-24 15:52:42.199 | DEBUG | Debug message
2025-12-24 15:52:42.199 | WARNING | Warning message
2025-12-24 15:52:42.199 | ERROR | Error message
Key Features¶
- Blazing Fast - Rust-powered core delivers 5-24x faster performance
- Beautiful by Default - Colored output with zero configuration
- Simple API - loguru-compatible interface for easy migration
- File Management - Size/time-based rotation, retention policies, gzip compression
- JSON Support - Built-in serialization for structured logging
- Context Binding - Attach metadata to log records with
bind() - Exception Handling - Automatic traceback capture with
catch()decorator
From Hello to Production¶
Next Steps¶
- Installation - Get started with Logust
- Quick Start - Learn the basics
- File Output - Rotation, retention, compression
- Formatting - Custom formats and JSON
- Comparison - Logust vs loguru vs logging