pub trait FormattableLogWriter {
// Required methods
fn with_format(self, new_format: Vec<LogItems>) -> Self;
fn with_time_format(self, new_format: &str) -> Self;
}Required Methods§
fn with_format(self, new_format: Vec<LogItems>) -> Self
fn with_time_format(self, new_format: &str) -> Self
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.
Implementations on Foreign Types§
Source§impl FormattableLogWriter for Box<CursiveLogWriter>
impl FormattableLogWriter for Box<CursiveLogWriter>
Source§fn with_format(self, new_format: Vec<LogItems>) -> Self
fn with_format(self, new_format: Vec<LogItems>) -> Self
Set up a custom log format
Source§fn with_time_format(self, new_format: &str) -> Self
fn with_time_format(self, new_format: &str) -> Self
Set up a custom format for a time