Minor Polish

This commit is contained in:
vongosling
2017-08-28 18:16:39 +08:00
parent 76464ba657
commit 4c5e58b46a
2 changed files with 2 additions and 2 deletions
@@ -98,7 +98,6 @@ public class ClientLogger {
initialize.invoke(joranConfigurator, "log4j2", logConfigFilePath);
}
}
//logClass = classType;
} catch (Exception e) {
System.err.println(e);
}
@@ -43,9 +43,10 @@ public class ClientLoggerTest {
// FIXME: Workaround for concrete implementation for slf4j, is there any better solution for all slf4j implementations in one class ? 2017/8/1
@Test
public void testLog4j() throws Exception {
public void testLog4j2() throws Exception {
Logger logger = ClientLogger.getLog();
System.out.println(logger);
assertEquals("org.apache.logging.slf4j.Log4jLogger", logger.getClass().getName());
}
}