Struct tui_logger::TuiLoggerSmartWidget[][src]

pub struct TuiLoggerSmartWidget<'a> { /* fields omitted */ }
Expand description

The Smart Widget combines the TuiLoggerWidget and the TuiLoggerTargetWidget into a nice combo, where the TuiLoggerTargetWidget can be shown/hidden.

In the title the number of logging messages/s in the whole buffer is shown.

Implementations

Separator character between field. Default is ‘:’

The format string can be defined as described in https://docs.rs/chrono/0.4.19/chrono/format/strftime/index.html

If called with None, timestamp is not included in output.

Default is %H:%M:%S

Possible values are

  • TuiLoggerLevelOutput::Long => DEBUG/TRACE/…
  • TuiLoggerLevelOutput::Abbreviated => D/T/…

If called with None, level is not included in output.

Default is Long

Enables output of target field of event

Default is true

Enables output of file field of event

Default is true

Enables output of line field of event

Default is true

Trait Implementations

Returns the “default value” for a type. Read more

Nothing to draw for combo widget

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.