Skip to main content

severity_enabled_at_compile_time

Function severity_enabled_at_compile_time 

Source
pub const fn severity_enabled_at_compile_time(severity: Severity) -> bool
Expand description

Compile-time ceiling check used by the nros_*! macros.

Returns true iff severity is allowed under the configured max-level-* feature.