@Test public void testIsLoggable() { Logger logger = new TestLogger("unused", Level.INFO); AbstractBackend backend = new TestBackend(logger); assertThat(backend.isLoggable(Level.INFO)).isTrue(); assertThat(backend.isLoggable(Level.FINE)).isFalse(); }
@Override public final boolean isLoggable(Level lvl) { return logger.isLoggable(lvl); }
AbstractBackend extends LoggerBackend { @Override public final boolean isLoggable(Level lvl) { return logger.isLoggable(lvl); } }
AbstractBackend extends LoggerBackend { @Override public final boolean isLoggable(Level lvl) { return logger.isLoggable(lvl); } AbstractBackend(Logger logger); }
AbstractBackend extends LoggerBackend { @Override public final boolean isLoggable(Level lvl) { return logger.isLoggable(lvl); } AbstractBackend(Logger logger); @Override final String getLoggerName(); @Override final boolean isLoggable(Level lvl); }
AbstractBackend extends LoggerBackend { @Override public final boolean isLoggable(Level lvl) { return logger.isLoggable(lvl); } AbstractBackend(Logger logger); @Override final String getLoggerName(); @Override final boolean isLoggable(Level lvl);  }