Struct slog_term::PlainRecordDecorator [] [src]

pub struct PlainRecordDecorator<'a, W: 'a>(_) where W: Write;

Record decorator used by PlainDecorator

Trait Implementations

impl<'a, W> Write for PlainRecordDecorator<'a, W> where W: Write
[src]

Write a buffer into this object, returning how many bytes were written. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Creates a "by reference" adaptor for this instance of Write. Read more

impl<'a, W> Drop for PlainRecordDecorator<'a, W> where W: Write
[src]

A method called when the value goes out of scope. Read more

impl<'a, W> RecordDecorator for PlainRecordDecorator<'a, W> where W: Write
[src]

Reset formatting to defaults

Format normal text

Format Record message

Format timestamp

Format Record level

Format a comma between key-value pairs

Format key

Format a value

Format value