pub struct Format {
pub ansi: Option<bool>,
pub target: Option<bool>,
pub level: Option<bool>,
pub thread_ids: Option<bool>,
pub thread_names: Option<bool>,
pub file: Option<bool>,
pub line_number: Option<bool>,
pub formatter: Option<Formatter>,
pub timer: Option<Timer>,
pub span_events: Option<FmtSpan>,
}
Expand description
Config for formatters.
Fields§
§ansi: Option<bool>
§target: Option<bool>
§level: Option<bool>
§thread_ids: Option<bool>
§thread_names: Option<bool>
§file: Option<bool>
§line_number: Option<bool>
§formatter: Option<Formatter>
Specific output formats.
timer: Option<Timer>
What timing information to include.
span_events: Option<FmtSpan>
What span events to emit.
Trait Implementations§
Source§impl From<Format> for FormatEvent
impl From<Format> for FormatEvent
Source§impl Ord for Format
impl Ord for Format
Source§impl PartialOrd for Format
impl PartialOrd for Format
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more