Logging
Metric events, progress, and debugging information throughout your experiments. Logs are stored with timestamps, levels, and optional metadata.
Basic Usage
Log Levels
Available levels: debug, info (default), warn, error, fatal
Structured Metadata
Add context and metrics to your logs:
Common Patterns
Training loop:
Error tracking:
Progress tracking:
Storage Format
Local mode - Logs stored as JSONL (JSON Lines):
Each line is a JSON object. metadata is present only when you pass it:
Remote mode - Logs stored in MongoDB with automatic indexing on timestamp and level.
Next: Learn about Parameters to metric hyperparameters and configuration.