[−][src]Struct alto_logger::ColorConfig
Color configuration for the logger
Fields
level_trace: Color
Color for the TRACE
level. Default: Blue
level_debug: Color
Color for the DEBUG
level. Default: Cyan
level_info: Color
Color for the INFO
level. Default: Green
level_warn: Color
Color for the WARN
level. Default: Yellow
level_error: Color
Color for the ERROR
level. Default: Red
timestamp: Color
Color for the timestamp field. Default: #767676
target: Color
Color for the target field. Default: #AF5F5F
continuation: Color
Color for the continuation field. Default: #3A3A3A
message: Color
Color for the message field. Default: #FFFFFF
Methods
impl ColorConfig
[src]
pub fn monochrome() -> Self
[src]
Create a monochrome (e.g. all 'white') color configuration
Trait Implementations
impl Default for ColorConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for ColorConfig
impl Send for ColorConfig
impl Sync for ColorConfig
impl Unpin for ColorConfig
impl UnwindSafe for ColorConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,