Function simple_logging::log_to_stderr [] [src]

pub fn log_to_stderr(
    max_log_level: LogLevelFilter
) -> Result<(), SetLoggerError>

Configure the log facade to log to stderr through a SimpleLogger.

Examples

use log::LogLevelFilter;

simple_logging::log_to_stderr(LogLevelFilter::Info);