pub trait Logger {
    // Required methods
    fn warn(&mut self, message: &str);
    fn err(&mut self, message: &str);
}
Available on crate feature validate only.

Required Methods§

source

fn warn(&mut self, message: &str)

source

fn err(&mut self, message: &str)

Implementors§

source§

impl Logger for StderrLogger

source§

impl Logger for VecLogger

source§

impl<W, E> Logger for CallbackLogger<W, E>
where W: FnMut(&str), E: FnMut(&str),