xolox / python-coloredlogs

Colored terminal output for Python's logging module
https://coloredlogs.readthedocs.io
MIT License
545 stars 44 forks source link

Option to force colored output #78

Closed kittenswolf closed 4 years ago

kittenswolf commented 4 years ago

There should be an option to force colored output. For example, when using coloredlogs with nohup - e.g nohup python3 -u script.py &, no colors are added to the logs.

There should be an option like force_colors=True.