Trait slog::format::Format [] [src]

pub trait Format: Send + Sync + Sized {
    fn format(&self, io: &mut Write, info: &RecordInfo, logger_values: &OwnedKeyValueNode) -> Result<()>;
}

Format record information

Required Methods

fn format(&self, io: &mut Write, info: &RecordInfo, logger_values: &OwnedKeyValueNode) -> Result<()>

Format one logging record and write into io

Implementors