Struct defmt_decoder::log::Printer[][src]

pub struct Printer<'a> { /* fields omitted */ }
This is supported on unstable only.
Expand description

Printer for DefmtRecords.

Implementations

Configure whether to include location info (file, line) in the output.

If true, an additional line will be included in the output that contains file and line information of the logging statement. By default, this is false.

Pads the defmt timestamp to take up at least the given number of characters.

Prints the colored log frame to sink.

The format is as follows (this is not part of the stable API and may change):

<timestamp> <level> <args>
└─ <module> @ <file>:<line>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.