Trait slog_term::RecordDecorator [−][src]
Per-record decorator
Required methods
Loading content...Provided methods
fn start_whitespace(&mut self) -> Result<()>
[src]
Format normal text
fn start_msg(&mut self) -> Result<()>
[src]
Format Record
message
fn start_timestamp(&mut self) -> Result<()>
[src]
Format timestamp
fn start_level(&mut self) -> Result<()>
[src]
Format Record
level
fn start_comma(&mut self) -> Result<()>
[src]
Format a comma between key-value pairs
fn start_key(&mut self) -> Result<()>
[src]
Format key
fn start_value(&mut self) -> Result<()>
[src]
Format a value
fn start_separator(&mut self) -> Result<()>
[src]
Format value
Implementations on Foreign Types
impl RecordDecorator for Box<dyn RecordDecorator>
[src]
fn reset(&mut self) -> Result<()>
[src]
fn start_whitespace(&mut self) -> Result<()>
[src]
fn start_msg(&mut self) -> Result<()>
[src]
Format Record
message
fn start_timestamp(&mut self) -> Result<()>
[src]
Format timestamp
fn start_level(&mut self) -> Result<()>
[src]
Format Record
level
fn start_comma(&mut self) -> Result<()>
[src]
Format Record
message
fn start_key(&mut self) -> Result<()>
[src]
Format key
fn start_value(&mut self) -> Result<()>
[src]
Format value
fn start_separator(&mut self) -> Result<()>
[src]
Format value
Implementors
impl<'a> RecordDecorator for TermRecordDecorator<'a>
[src]
fn reset(&mut self) -> Result<()>
[src]
fn start_level(&mut self) -> Result<()>
[src]
fn start_key(&mut self) -> Result<()>
[src]
fn start_msg(&mut self) -> Result<()>
[src]
impl<'a, W> RecordDecorator for PlainRecordDecorator<'a, W> where
W: Write,
[src]
W: Write,
impl<W> RecordDecorator for PlainSyncRecordDecorator<W> where
W: Write,
[src]
W: Write,