pub trait RecordDecorator: Write {
    fn reset(&mut self) -> Result<()>;

    fn start_whitespace(&mut self) -> Result<()> { ... }
fn start_msg(&mut self) -> Result<()> { ... }
fn start_timestamp(&mut self) -> Result<()> { ... }
fn start_level(&mut self) -> Result<()> { ... }
fn start_comma(&mut self) -> Result<()> { ... }
fn start_key(&mut self) -> Result<()> { ... }
fn start_value(&mut self) -> Result<()> { ... }
fn start_location(&mut self) -> Result<()> { ... }
fn start_separator(&mut self) -> Result<()> { ... } }
Expand description

Per-record decorator

Required methods

Reset formatting to defaults

Provided methods

Format normal text

Format Record message

Format timestamp

Format Record level

Format a comma between key-value pairs

Format key

Format a value

Format a file location

Format value

Implementations on Foreign Types

Format Record message

Format timestamp

Format Record level

Format Record message

Format key

Format value

Format file location

Format value

Implementors