afch_logger

Trait Transform

Source
pub trait Transform {
    // Required methods
    fn transform_error(&self, msg: String) -> String;
    fn transform_warning(&self, msg: String) -> String;
}

Required Methods§

Source

fn transform_error(&self, msg: String) -> String

Transform the error log message that contains warn (case insensitive).

Source

fn transform_warning(&self, msg: String) -> String

Transform the warning log message that does not contain warn (case insensitive).

Implementors§