slog_envlogger
pub struct EnvLogger<T: Drain> { // some fields omitted }
EnvLogger drain.
EnvLogger
impl<T: Drain> EnvLogger<T>
fn new(d: T) -> Self
fn filter(&self) -> FilterLevel
impl<T: Drain> Drain for EnvLogger<T>
fn log(&self, info: &Record, val: &OwnedKeyValueList) -> Result<()>
Write one logging record As an optimization (avoiding allocations), loggers are responsible for providing a byte buffer, that Drain can use for their own needs. Read more
Drain