Module log
Available on crate feature
telemetry only.Expand description
Structured logging functionality with multiple severity levels.
This module provides the core logging infrastructure for the telemetry system. It supports structured logging with key-value attributes and automatically correlates log messages with active spans when available.
§Severity Levels
The logging system supports multiple severity levels:
Severity::Trace- Very detailed debugging informationSeverity::Debug- Detailed debugging informationSeverity::Info- General informational messagesSeverity::Warn- Warning messages for potential issuesSeverity::Error- Error messages for serious problemsSeverity::Fatal- Fatal error messages for critical failures
§Examples
veecle_telemetry::info!("Operation completed", {
"duration_ms" = 150,
"success" = true
});