Add ANSI support to console logger