@Test public void testCreation() { InternalLogger logger = new Log4JLoggerFactory().newInstance("foo"); assertTrue(logger instanceof Log4JLogger); assertEquals("foo", logger.name()); }
@Override public InternalLogger newInstance(String name) { return new Log4JLogger(Logger.getLogger(name)); }
Log4JLoggerFactory extends InternalLoggerFactory { @Override public InternalLogger newInstance(String name) { return new Log4JLogger(Logger.getLogger(name)); } }
Log4JLoggerFactory extends InternalLoggerFactory { @Override public InternalLogger newInstance(String name) { return new Log4JLogger(Logger.getLogger(name)); }  }
Log4JLoggerFactory extends InternalLoggerFactory { @Override public InternalLogger newInstance(String name) { return new Log4JLogger(Logger.getLogger(name)); }  @Override InternalLogger newInstance(String name); }
Log4JLoggerFactory extends InternalLoggerFactory { @Override public InternalLogger newInstance(String name) { return new Log4JLogger(Logger.getLogger(name)); }  @Override InternalLogger newInstance(String name);  }