1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pub mod level;
pub mod term_status;
pub mod text;
pub mod utils;
pub use level::Level;
pub use term_status::TermStatus;
pub use text::StdioReporter;
pub use text::StringReporter;
pub const DONTPRINT_TAG: &str = "dontprint";
use crate::task_tree::TaskInternal;
use std::sync::Arc;
pub trait Reporter: Send + Sync {
fn task_start(&self, _task: Arc<TaskInternal>) {}
fn task_end(&self, _task: Arc<TaskInternal>) {}
fn task_progress(&self, _task: Arc<TaskInternal>) {}
}