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 deserializer will create.
type Config = PatternEncoderConfig
This deserializer's configuration.
fn deserialize(
&self,
config: PatternEncoderConfig,
_: &Deserializers
) -> Result<Box<Encode>, Box<Error + Sync + Send>>
&self,
config: PatternEncoderConfig,
_: &Deserializers
) -> Result<Box<Encode>, Box<Error + Sync + Send>>
Create a new trait object based on the provided config.