Skip to main content

DEFAULT_LOG_LEVEL

Constant DEFAULT_LOG_LEVEL 

Source
pub const DEFAULT_LOG_LEVEL: &str = "info";
Expand description

Log level used when no RUST_LOG env var is set.

Why: Documents and centralises the default so operators know what to expect without reading source. What: A static string literal used by [env_filter] as its real fallback. Test: tests/logging_e2e.rs covers unset and invalid RUST_LOG values.