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,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more