Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jagger27
on Feb 27, 2022
|
parent
|
context
|
favorite
| on:
No_color
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.
noitpmeder
on Feb 27, 2022
[–]
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.
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: