use tracing_subscriber::fmt::format::FmtSpan;
pub trait Config {
fn quiet(&self) -> u8;
fn verbose(&self) -> u8;
fn with_ansi(&self) -> bool {
true
}
#[cfg(feature = "json")]
#[cfg_attr(docsrs, doc(cfg(feature = "json")))]
fn with_current_span(&self) -> bool {
false
}
fn with_file(&self) -> bool {
false
}
fn with_line_number(&self) -> bool {
false
}
fn with_level(&self) -> bool {
true
}
fn with_span_events(&self) -> Option<FmtSpan> {
None
}
#[cfg(feature = "json")]
#[cfg_attr(docsrs, doc(cfg(feature = "json")))]
fn with_span_list(&self) -> bool {
false
}
fn with_target(&self) -> bool {
false
}
fn with_thread_ids(&self) -> bool {
false
}
fn with_thread_names(&self) -> bool {
false
}
}