ColorConsoleLogOutput

colorise console output with escape seqence

Members

Functions

chooseColors
string[4] chooseColors(in LogMessage lm)

returns 4 colors for timestamp, log level, emitter name, message text

formatLogMessage
string formatLogMessage(in LogMessage lm)

formatting with colors

Inherited Members

From ConsoleLogOutput

writeMessage
void writeMessage(in LogMessage lm, string str)

log messages with level > ERROR puts to stdout, and stderr otherwise

Meta