Expand description
A couple of functions to enable and disable coloring.
Structs§
- SHOULD_
COLORIZE - The persistent
ShouldColorize
. - Should
Colorize - A flag for whether coloring should occur.
Functions§
- set_
override - Use this to force colored to ignore the environment and always/never colorize See example/control.rs
- unset_
override - Remove the manual override and let the environment decide if it’s ok to colorize See example/control.rs