Struct fern::NullLogger [] [src]

pub struct NullLogger;

A logger implementation which does nothing with logged messages.

Trait Implementations

impl Copy for NullLogger
[src]

impl Clone for NullLogger
[src]

fn clone(&self) -> NullLogger

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Logger for NullLogger
[src]

fn log(&self, _msg: &str, _level: &LogLevel, _location: &LogLocation) -> Result<()LogError>

Logs a given message in this logger.

impl Log for NullLogger
[src]

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