Struct ll::reporters::text::StdioReporter
source · 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
sourceimpl StdioReporter
impl StdioReporter
Trait Implementations
sourceimpl Reporter for StdioReporter
impl Reporter for StdioReporter
fn task_start(&self, task_internal: Arc<TaskInternal>)
fn task_end(&self, task_internal: Arc<TaskInternal>)
fn task_progress(&self, _task: Arc<TaskInternal>)
Auto Trait Implementations
impl RefUnwindSafe for StdioReporter
impl Send for StdioReporter
impl Sync for StdioReporter
impl Unpin for StdioReporter
impl UnwindSafe for StdioReporter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more