Skip to main content

LOCAL_SINK_MAX_LEVEL_ENV_VAR

Constant LOCAL_SINK_MAX_LEVEL_ENV_VAR 

Source
pub const LOCAL_SINK_MAX_LEVEL_ENV_VAR: &'static str;
Expand description

Environment variable capping the local (stdout) sink’s max level. Read once by TelemetryGuardBuilder::build. Precedence is TelemetryGuardBuilder::with_local_sink_max_level (including the #[micromegas_main] macro’s local_sink_max_level attribute) > this variable > the DEFAULT_LOCAL_SINK_MAX_LEVEL default. Accepts off, fatal, error, warn, info, debug, or trace, case-insensitively; an unparseable value fails build().