Struct slog_envlogger::EnvLogger
[−]
[src]
pub struct EnvLogger<T: Drain> { // some fields omitted }
EnvLogger
drain.
Methods
impl<T: Drain> EnvLogger<T>
[src]
Trait Implementations
impl<T: Drain> Drain for EnvLogger<T>
[src]
type Error = T::Error
Type of potential error returned during logging
fn log(&self, info: &Record, val: &OwnedKeyValueList) -> Result<(), T::Error>
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