Added console logging with color support.