pub trait TLogger {
// Required methods
fn info(&mut self, data: impl Into<String>);
fn warn(&mut self, data: impl Into<String>);
fn error(&mut self, data: impl Into<String>);
fn flush(&mut self);
fn set_instant(&mut self, instant: bool);
}Required Methods§
fn info(&mut self, data: impl Into<String>)
fn warn(&mut self, data: impl Into<String>)
fn error(&mut self, data: impl Into<String>)
fn flush(&mut self)
fn set_instant(&mut self, instant: bool)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.