Struct tui_logger::TuiLoggerWidget[][src]

pub struct TuiLoggerWidget<'b> { /* fields omitted */ }

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

Draws the current state of the widget in the given buffer. That the only method required to implement a custom widget. Read more

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.