pub enum EventPrinter {
FullWithHeader,
LogLineAndContents {
show_timestamp: bool,
show_loglevel: bool,
show_location: bool,
},
JustTheContents,
}
Variants§
FullWithHeader
Display the entire tracing::Event
with all debug info.
LogLineAndContents
A single-line format that can optionally include timestamps/levels.
JustTheContents
Prints only the event’s field values.
Trait Implementations§
Source§impl Clone for EventPrinter
impl Clone for EventPrinter
Source§fn clone(&self) -> EventPrinter
fn clone(&self) -> EventPrinter
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EventPrinter
impl Debug for EventPrinter
Auto Trait Implementations§
impl Freeze for EventPrinter
impl RefUnwindSafe for EventPrinter
impl Send for EventPrinter
impl Sync for EventPrinter
impl Unpin for EventPrinter
impl UnwindSafe for EventPrinter
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