pub struct LevelColor {
pub error: Color,
pub warn: Color,
pub info: Color,
pub debug: Color,
pub trace: Color,
}
Expand description
Colors for different log levels.
Fields§
§error: Color
Color for error level logs.
warn: Color
Color for warning level logs.
info: Color
Color for info level logs.
debug: Color
Color for debug level logs.
trace: Color
Color for trace level logs.
Trait Implementations§
Source§impl Clone for LevelColor
impl Clone for LevelColor
Source§fn clone(&self) -> LevelColor
fn clone(&self) -> LevelColor
Returns a duplicate 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 LevelColor
impl Debug for LevelColor
Auto Trait Implementations§
impl Freeze for LevelColor
impl RefUnwindSafe for LevelColor
impl Send for LevelColor
impl Sync for LevelColor
impl Unpin for LevelColor
impl UnwindSafe for LevelColor
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