pub struct NullLogger {}
Expand description
Represents a logger that throws away anything sent its way.
Implementations§
Trait Implementations§
source§impl ILogger for NullLogger
impl ILogger for NullLogger
source§fn write_line(&mut self, _loglevel: &str, _message: &str)
fn write_line(&mut self, _loglevel: &str, _message: &str)
Send a formatted line to the logger. Must be implemented by any struct
implementing the ILogger trait. Read more
source§fn log_trace(&mut self, message: &str)
fn log_trace(&mut self, message: &str)
Log trace messages to the configured output. A newline will always be
added to the message when writing to the log. Default behavior is to
send the message to ILogger::write_line(). Read more