Default logger prints colors on non-interactive shells

What is the feature?

When using the default forest admin logger, colors are used to make the logs easier to read on a terminal when working on new features.

However, when in production logs are piped into files / databases, and colors makes them harder to read as they are no longer processed.

Would it be possible to detect from the agent if the output is a tty, and only use colors in that case?

$ node -p -e "Boolean(process.stdout.isTTY)"
$ node -p -e "Boolean(process.stdout.isTTY)" | cat

What problem does this solve for you?

Make logs easier to read

Who else would be using this feature?

People debugging their agents in production and using the default logger