@Test public void emphasizeInfoWithDebugEnabled() { TestLog testLog = new TestLog() { @Override public boolean isDebugEnabled() { return true; } }; AnsiLogger logger = new AnsiLogger(testLog, true, null, false, "T>"); logger.info("Info messages do not apply [[*]]%s[[*]] when debug is enabled", "color codes"); assertEquals("T>Info messages do not apply color codes when debug is enabled", testLog.getMessage()); }
public void info(String message, Object ... params) { log.info(colored(message, COLOR_INFO, true, params)); }
AnsiLogger implements KitLogger { public void info(String message, Object ... params) { log.info(colored(message, COLOR_INFO, true, params)); } }
AnsiLogger implements KitLogger { public void info(String message, Object ... params) { log.info(colored(message, COLOR_INFO, true, params)); } AnsiLogger(Log log, boolean useColor, String verbose);  AnsiLogger(Log log, boolean useColor, String verbose, boolean batchMode);  AnsiLogger(Log log, boolean useColor, String verbose, boolean batchMode, String prefix); }
AnsiLogger implements KitLogger { public void info(String message, Object ... params) { log.info(colored(message, COLOR_INFO, true, params)); } AnsiLogger(Log log, boolean useColor, String verbose);  AnsiLogger(Log log, boolean useColor, String verbose, boolean batchMode);  AnsiLogger(Log log, boolean useColor, String verbose, boolean batchMode, String prefix); void debug(String message, Object ... params); void info(String message, Object ... params); void verbose(LogVerboseCategory logVerboseCategory, String message, Object ... params); void warn(String format, Object ... params); void error(String message, Object ... params); boolean isDebugEnabled(); boolean isVerboseEnabled(); void progressStart(); void progressUpdate(String layerId, String status, String progressMessage); void progressFinished(); }
AnsiLogger implements KitLogger { public void info(String message, Object ... params) { log.info(colored(message, COLOR_INFO, true, params)); } AnsiLogger(Log log, boolean useColor, String verbose);  AnsiLogger(Log log, boolean useColor, String verbose, boolean batchMode);  AnsiLogger(Log log, boolean useColor, String verbose, boolean batchMode, String prefix); void debug(String message, Object ... params); void info(String message, Object ... params); void verbose(LogVerboseCategory logVerboseCategory, String message, Object ... params); void warn(String format, Object ... params); void error(String message, Object ... params); boolean isDebugEnabled(); boolean isVerboseEnabled(); void progressStart(); void progressUpdate(String layerId, String status, String progressMessage); void progressFinished(); static final String DEFAULT_LOG_PREFIX; }