pub enum ColorFormat {
Solid,
InlineGradient(usize),
MultiLineGradient(usize),
}Expand description
Color formatting mode that determines how log records are colored/how a theme is applied to log records
Variants§
Solid
solid color(s) applied from a theme to log lines
InlineGradient(usize)
linear color gradient applied over characters in a single line, with arg for number of steps in gradient (how many characters it will take to go from the starting color to the ending color for each level)
MultiLineGradient(usize)
linear color gradient applied over multiple lines, with arg for number of steps in gradient (how many lines it will take to go from the starting color to the ending color for each level)
Auto Trait Implementations§
impl Freeze for ColorFormat
impl RefUnwindSafe for ColorFormat
impl Send for ColorFormat
impl Sync for ColorFormat
impl Unpin for ColorFormat
impl UnwindSafe for ColorFormat
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