pub enum LogTextColor {
None,
BySeverity,
Highlight,
}
Expand description
Configuration for the color of a log line that is displayed in tools using LogTextPresenter
.
Variants§
None
Do not print this log with ANSI colors.
BySeverity
Display color codes according to log severity and presence of dropped or rolled out logs.
Highlight
Highlight this message as noteworthy regardless of severity, e.g. for known spam messages.
Trait Implementations§
Source§impl Clone for LogTextColor
impl Clone for LogTextColor
Source§fn clone(&self) -> LogTextColor
fn clone(&self) -> LogTextColor
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 LogTextColor
impl Debug for LogTextColor
Source§impl Default for LogTextColor
impl Default for LogTextColor
Source§fn default() -> LogTextColor
fn default() -> LogTextColor
Returns the “default value” for a type. Read more
impl Copy for LogTextColor
Auto Trait Implementations§
impl Freeze for LogTextColor
impl RefUnwindSafe for LogTextColor
impl Send for LogTextColor
impl Sync for LogTextColor
impl Unpin for LogTextColor
impl UnwindSafe for LogTextColor
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
)