Struct log4rs::encode::pattern::PatternEncoderDeserializer [] [src]

pub struct PatternEncoderDeserializer;
[]

A deserializer for the PatternEncoder.

Configuration

kind: pattern

# The pattern to follow when formatting logs. Defaults to
# "{d} {l} {t} - {m}{n}".
pattern: "{d} {l} {t} - {m}{n}"

Trait Implementations

impl Deserialize for PatternEncoderDeserializer
[src]

type Trait = Encode

The trait that this builder will create.

fn deserialize(&self, config: Value, _: &Deserializers) -> Result<Box<Encode>, Box<Error>>[]

Create a new trait object based on the provided config.