Trait slog::Value [] [src]

pub trait Value {
    fn serialize(&self,
                 record: &Record,
                 key: Key,
                 serializer: &mut Serializer)
                 -> Result; }

Value that can be serialized

Required Methods

Serialize self into Serializer

Structs implementing this trait should generally only call respective methods of serializer.

Implementors