Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jagger27
· 4y ago · 0 comments
Most of the time they’re not printed out at all because of isatty in underlying libraries. Centralized logging doesn’t usually go through a TTY.
Comments
[–]
noitpmeder
4y ago
This is the correct answer (or at least it should be). Only print colors when going to a TTY, not when writing logs to a file.