[][src]Struct alto_logger::ColorConfig

pub struct ColorConfig {
    pub level_trace: Color,
    pub level_debug: Color,
    pub level_info: Color,
    pub level_warn: Color,
    pub level_error: Color,
    pub timestamp: Color,
    pub target: Color,
    pub continuation: Color,
    pub message: Color,
}

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.