Function log::enabled [-]  [+] [src]

pub fn enabled(level: LogLevel, module: &str) -> bool

Determines if the current logger will ignore a log message at the specified level from the specified module.

This should not typically be called directly. The log_enabled! macro should be used instead.