cursive_logger_view

Trait FormattableLogWriter

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

Source

fn with_format(self, new_format: Vec<LogItems>) -> Self

Source

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>

Source§

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

Set up a custom format for a time

Implementors§