The log module is described here
quote:
::log::lvColor level color
Defines for the specified level the color to return for it in a call to ::log::lv2color. Unique abbreviations of level names are allowed.
But where is this color set? Does this mean that only a variable I can ask for is set to 'color'?
This:
log::log notice "Some message"
will print to console "Some message" in white (which is my default font color in gnome-terminal).
That does not change after
log::lvColor notice blue
This seems to have no effect. The application I am using is ModelSim. In the ModelSim console I don't get any string. All logs will appear on gnome-terminal.
Am I missing something or will the only change be that
log::lv2color notice
returns "blue" now?
Is there maybe any better way to get console output via "puts" in different colors?