This is a minimal example showing how to use the Chronilog logging system in Python.
pip install -r requirements.txt
python main.py
Logs are saved to logs/app.log
with rotation and console output controlled by .chronilog.toml
.
[2025-05-30 21:00:00] INFO ✅ This is an info message.
[2025-05-30 21:00:00] ERROR ❌ This is an error message.
All settings are in .chronilog.toml
and include:
- Log file path and size
- Rotation
- Console output
- Emoji fallback
- Sentry integration (disabled by default)
See HELP.md for a full step-by-step guide.