TLogger

Trait TLogger 

Source
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§

Source

fn info(&mut self, data: impl Into<String>)

Source

fn warn(&mut self, data: impl Into<String>)

Source

fn error(&mut self, data: impl Into<String>)

Source

fn flush(&mut self)

Source

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.

Implementors§