Skip to main content

ansi_enabled

Function ansi_enabled 

Source
pub fn ansi_enabled(config: &Config) -> bool
Expand description

Whether to color the formatted line.

The journal takes that line verbatim and classifies a message carrying control bytes as binary rather than text, so colors are suppressed while entries are submitted to it.