Closed vikramsubramanian closed 2 weeks ago
You can either add()
your sink with colorize=False
or override the default by settings the LOGURU_COLORIZE
environment vairale to NO
.
Great, I configured that variable in the debugger and it does exactly what I need.
Thanks for the help Delgan!
The colors are helpful but they get in the way when a terminal doesn't support it - in my case, VS Code's Python Debugger prints the color codes and makes it hard to read:
Is there a simple way to disable them temporarily, eg setting an environment variable?