pub struct StdioReporter {
    pub timestamp_format: Option<TimestampFormat>,
    pub use_stdout: bool,
    pub log_task_start: bool,
    pub max_log_level: Level,
}
Expand description

Simple drain that logs everything into STDOUT

Fields

timestamp_format: Option<TimestampFormat>use_stdout: bool

By default this reporter writes to STDERR, this flag will make it write to STDOUT instead

log_task_start: bool

Report every time a new task is started as well, not only when tasks are finished

max_log_level: Level

Implementations

Trait Implementations

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.