public ColorFormatter() { // until info level information should be not so import so keep default color colors.put(Level.FINEST, color("finest", Ansi.Color.DEFAULT.name())); colors.put(Level.FINER, color("finer", Ansi.Color.DEFAULT.name())); colors.put(Level.FINE, color("fine", Ansi.Color.DEFAULT.name())); // info is the main one so white? (default is often a bit gray so less visible) colors.put(Level.INFO, color("info", Ansi.Color.WHITE.name())); // warn and more are important information so specify a visible color colors.put(Level.WARNING, color("warning", Ansi.Color.YELLOW.name())); colors.put(Level.SEVERE, color("severe", Ansi.Color.RED.name())); }
public ColorFormatter() { // until info level information should be not so import so keep default color colors.put(Level.FINEST, color("finest", Ansi.Color.DEFAULT.name())); colors.put(Level.FINER, color("finer", Ansi.Color.DEFAULT.name())); colors.put(Level.FINE, color("fine", Ansi.Color.DEFAULT.name())); // info is the main one so white? (default is often a bit gray so less visible) colors.put(Level.INFO, color("info", Ansi.Color.WHITE.name())); // warn and more are important information so specify a visible color colors.put(Level.WARNING, color("warning", Ansi.Color.YELLOW.name())); colors.put(Level.SEVERE, color("severe", Ansi.Color.RED.name())); }