Struct Logger
stdio_logger
pub struct Logger { /* fields omitted */ }
impl Logger
fn new() -> Logger
fn set_level(&mut self, level: LogLevel) -> &mut Self
fn enabled(&self, level: LogLevel, _target: &str) -> bool
impl Log for Logger
fn enabled(&self, metadata: &LogMetadata) -> bool
Determines if a log message with the specified metadata would be logged. Read more
fn log(&self, record: &LogRecord)
Logs the LogRecord. Read more
LogRecord