@Test public void testCreation() { InternalLogger logger = CommonsLoggerFactory.INSTANCE.newInstance("foo"); assertTrue(logger instanceof CommonsLogger); assertEquals("foo", logger.name()); }
@Override public InternalLogger newInstance(String name) { return new CommonsLogger(LogFactory.getLog(name), name); }
CommonsLoggerFactory extends InternalLoggerFactory { @Override public InternalLogger newInstance(String name) { return new CommonsLogger(LogFactory.getLog(name), name); } }
CommonsLoggerFactory extends InternalLoggerFactory { @Override public InternalLogger newInstance(String name) { return new CommonsLogger(LogFactory.getLog(name), name); } @Deprecated  CommonsLoggerFactory(); }
CommonsLoggerFactory extends InternalLoggerFactory { @Override public InternalLogger newInstance(String name) { return new CommonsLogger(LogFactory.getLog(name), name); } @Deprecated  CommonsLoggerFactory(); @Override InternalLogger newInstance(String name); }
CommonsLoggerFactory extends InternalLoggerFactory { @Override public InternalLogger newInstance(String name) { return new CommonsLogger(LogFactory.getLog(name), name); } @Deprecated  CommonsLoggerFactory(); @Override InternalLogger newInstance(String name); static final InternalLoggerFactory INSTANCE; }