pub struct ConsoleLogger {}
Expand description
Represents a logger that writes logging to the standard output.
Implementations§
Trait Implementations§
source§impl ILogger for ConsoleLogger
impl ILogger for ConsoleLogger
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