Closed mrcrdwd closed 2 years ago
What kind of coloring do you want?
Something like:
INFO
lines in whiteWARNING
lines in yellowERROR
lines in redAnything else? Do you want to be able to highlight specific keywords?
I'd say just use the default highlighting initially and use kairos.cfg
to specify the environment variables so that everyone can customize the style to their liking?
Or when you decide to go without an external library go for the colors you suggest.
For now, I don't care enough about console colour. So, I went with your preferred option. It also seems the easiest to set up.
I won't make a separate release for it but it is pushed to the master branche. Don't forget to install the library (or run install setup.py
) if you are running in a virtual environment.
Would you consider adding some color to the console output? It can improve readability. There are different libraries like coloredlogs (my preference) and colorlog which make it quite easy to implement. The coloring can also be added to
kairos.cfg
.