Function log_level

Source
pub fn log_level() -> u8
Expand description

Returns the current logging level as an unsigned 8-bit integer.

This function retrieves the logging level by accessing a globally maintained LOGLEVEL value using its get method. The logging level is likely set elsewhere in the program, potentially allowing different components to conditionally alter their logging verbosity based on this value.