Logger class with color support