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>,
}
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.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Format
impl<'de> Deserialize<'de> for Format
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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