@Test public void testInfoMessageFormat() throws Exception { logger.info("Hello {0}", "World"); assertEquals(appender.getEvents().size(), 1); assertEquals(appender.getEvents().get(0).getLevel(), Level.INFO); assertEquals(appender.getEvents().get(0).getMessage(), "Hello World"); assertNull(appender.getEvents().get(0).getThrowableInformation()); }
public void info (Object message) { this.logger.log(FQCN, Level.INFO, message, null); }
MCTLogger { public void info (Object message) { this.logger.log(FQCN, Level.INFO, message, null); } }
MCTLogger { public void info (Object message) { this.logger.log(FQCN, Level.INFO, message, null); } private  MCTLogger(Logger logger); }
MCTLogger { public void info (Object message) { this.logger.log(FQCN, Level.INFO, message, null); } private  MCTLogger(Logger logger); static MCTLogger getLogger(java.lang.Class<?> c); static MCTLogger getLogger(String loggerName); void info(Object message); void info(String message, Object...params); void warn(Object message); void error(Object message); void error(Object message, Throwable t); void error(Throwable t, String message, Object...params); void debug(Object message); void debug(Object message, Throwable t); void warn(Object message, Throwable t); void warn(String message, Object...params); void debug(String message, Object...params); void fatal(Object message); void fatal(Object message, Throwable t); }
MCTLogger { public void info (Object message) { this.logger.log(FQCN, Level.INFO, message, null); } private  MCTLogger(Logger logger); static MCTLogger getLogger(java.lang.Class<?> c); static MCTLogger getLogger(String loggerName); void info(Object message); void info(String message, Object...params); void warn(Object message); void error(Object message); void error(Object message, Throwable t); void error(Throwable t, String message, Object...params); void debug(Object message); void debug(Object message, Throwable t); void warn(Object message, Throwable t); void warn(String message, Object...params); void debug(String message, Object...params); void fatal(Object message); void fatal(Object message, Throwable t);  }