### Question:
Slf4JLoggerFactory extends InternalLoggerFactory { @Override public InternalLogger newInstance(String name) { return wrapLogger(LoggerFactory.getLogger(name)); } @Deprecated  Slf4JLoggerFactory();   Slf4JLoggerFactory(boolean failIfNOP); @Override InternalLogger newInstance(String name); @SuppressWarnings("deprecation")
    static final InternalLoggerFactory INSTANCE; }### Answer:
@Test public void testCreation() { InternalLogger logger = Slf4JLoggerFactory.INSTANCE.newInstance("foo"); assertTrue(logger instanceof Slf4JLogger || logger instanceof LocationAwareSlf4JLogger); assertEquals("foo", logger.name()); }