@Test public void emphasize() { TestLog testLog = new TestLog(); AnsiLoggerFacade logger = new AnsiLoggerFacade(testLog, true, false, false, "T>"); Ansi ansi = Ansi.ansi(); logger.info("Yet another [[*]]Test[[*]] %s","emphasis"); assertEquals(ansi.a("T>") .fg(AnsiLoggerFacade.COLOR_INFO) .a("Yet another ") .fgBright(AnsiLoggerFacade.COLOR_EMPHASIS) .a("Test") .fg(AnsiLoggerFacade.COLOR_INFO) .a(" emphasis") .reset().toString(), testLog.getMessage()); }
public void info(String message, Object... params) { log.info(colored(message, COLOR_INFO, true, params)); }
AnsiLoggerFacade implements KitLogger { public void info(String message, Object... params) { log.info(colored(message, COLOR_INFO, true, params)); } }
AnsiLoggerFacade implements KitLogger { public void info(String message, Object... params) { log.info(colored(message, COLOR_INFO, true, params)); } AnsiLoggerFacade(KitLogger log, boolean useColor, boolean verbose);  AnsiLoggerFacade(KitLogger log, boolean useColor, boolean verbose, boolean batchMode);  AnsiLoggerFacade(KitLogger log, boolean useColor, boolean verbose, boolean batchMode, String prefix); }
AnsiLoggerFacade implements KitLogger { public void info(String message, Object... params) { log.info(colored(message, COLOR_INFO, true, params)); } AnsiLoggerFacade(KitLogger log, boolean useColor, boolean verbose);  AnsiLoggerFacade(KitLogger log, boolean useColor, boolean verbose, boolean batchMode);  AnsiLoggerFacade(KitLogger log, boolean useColor, boolean verbose, boolean batchMode, String prefix); void debug(String message, Object... params); void info(String message, Object... params); void verbose(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(); }
AnsiLoggerFacade implements KitLogger { public void info(String message, Object... params) { log.info(colored(message, COLOR_INFO, true, params)); } AnsiLoggerFacade(KitLogger log, boolean useColor, boolean verbose);  AnsiLoggerFacade(KitLogger log, boolean useColor, boolean verbose, boolean batchMode);  AnsiLoggerFacade(KitLogger log, boolean useColor, boolean verbose, boolean batchMode, String prefix); void debug(String message, Object... params); void info(String message, Object... params); void verbose(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; }