Many UNIX commands have the option --color {auto|always|never}, and --color always always outputs colored result even when the destination is not a terminal.
In a similar manner, in env_logger, how to forcibly color output even when the output is not a terminal? In other words, I'd like to optionally disable terminal detection.
Many UNIX commands have the option
--color {auto|always|never}
, and--color always
always outputs colored result even when the destination is not a terminal.In a similar manner, in
env_logger
, how to forcibly color output even when the output is not a terminal? In other words, I'd like to optionally disable terminal detection.