pub struct LogTextDisplayOptions {
pub show_full_moniker: bool,
pub show_metadata: bool,
pub show_tags: bool,
pub show_file: bool,
pub color: LogTextColor,
pub time_format: LogTimeDisplayFormat,
}
Expand description
Display options for unstructured logs.
Fields§
§show_full_moniker: bool
Whether or not to display the full moniker.
show_metadata: bool
Whether or not to display metadata like PID & TID.
Whether or not to display tags provided by the log producer.
show_file: bool
Whether or not to display the source location which produced the log.
color: LogTextColor
Whether to include ANSI color codes in the output.
time_format: LogTimeDisplayFormat
How to print timestamps for this log message.
Trait Implementations§
Source§impl Clone for LogTextDisplayOptions
impl Clone for LogTextDisplayOptions
Source§fn clone(&self) -> LogTextDisplayOptions
fn clone(&self) -> LogTextDisplayOptions
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 LogTextDisplayOptions
impl Debug for LogTextDisplayOptions
Source§impl Default for LogTextDisplayOptions
impl Default for LogTextDisplayOptions
impl Copy for LogTextDisplayOptions
Auto Trait Implementations§
impl Freeze for LogTextDisplayOptions
impl RefUnwindSafe for LogTextDisplayOptions
impl Send for LogTextDisplayOptions
impl Sync for LogTextDisplayOptions
impl Unpin for LogTextDisplayOptions
impl UnwindSafe for LogTextDisplayOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)