25262728293031
SimpleLogger logger; @Before public void setUp() throws Exception { logger = new SimpleLogger(); }
303132333435363738
logger = new SimpleLogger(); } @Test public void testSimpleLoggerConstructorPrintStream() { logger = new SimpleLogger(System.out); logger.info("test"); assertTrue(true); }
6465666768697071
} Class<?> loggerClass = ClassUtils.forName(LOG4J_CLASS); if (loggerClass != null) { return new Log4jLogger(name); } else { return new SimpleLogger(); } }