flori/term-ansicolor

How can I turn off colors?

Closed this issue · 1 comments

I am looking for an environment variable or something that I can easily turn off colors with for logs as the ansi code is getting written out.

Example:

#033[32mwolfpack run run_id=03c22d71944d name="heroku/rackup" at=finish elapsed=28.052#033[0m

Is there some knob I can turn to get rid of that?

You can set

Term::ANSIColor::coloring = false

to disable the coloring.