-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
in the docs, it says if chromalog detects non-color supporting terminal, it will fall back on monochrome. but i have a custom terminal (written in java) where i would like to launch a python process (using chromalog) and have it continue to output ansi color codes, even though chromalog thinks the python process is running in non-ansi environment.
so, is there a way to turn off this auto-detecting ansi terminal behavior, so that it always logs with ansi codes?
(looking thru the code i see that in stream.py, function stream_has_color_support checks for color support:
getattr(stream, 'isatty', lambda: False)()
is there a simple way to initialize logging with a stream where the 'isatty' is set to True?)
Metadata
Metadata
Assignees
Labels
No labels