Enum logger::format::FormatColor
[−]
[src]
pub enum FormatColor {
ConstantColor(Option<Color>),
FunctionColor(fn(&Request, &Response) -> Option<Color>),
}A representation of color in a FormatUnit.
Variants
ConstantColor | A constant color |
FunctionColor | A variable color, dependent on the request/response This can be used to change the color depending on response status, &c. |