🛈 Note: This is pre-release documentation for the upcoming tracing 0.2.0 ecosystem.

For the release documentation, please see docs.rs, instead.

pub const STATIC_MAX_LEVEL: LevelFilter;
Expand description

The statically configured maximum trace level.

See the module-level documentation for information on how to configure this.

This value is checked by the event! and span! macros. Code that manually constructs events or spans via the Event::record function or Span constructors should compare the level against this value to determine if those spans or events are enabled.