TaggedLogger { public boolean isWarnEnabled() { return minimumLevelCoversWarn && provider.isEnabled(STACKTRACE_DEPTH, tag, Level.WARN); } TaggedLogger(final String tag); boolean isTraceEnabled(); void trace(final Object message); void trace(final Supplier<?> message); void trace(final String message, final Object... arguments); void trace(final String message, final Supplier<?>... arguments); void trace(final Throwable exception); void trace(final Throwable exception, final String message); void trace(final Throwable exception, final Supplier<String> message); void trace(final Throwable exception, final String message, final Object... arguments); void trace(final Throwable exception, final String message, final Supplier<?>... arguments); boolean isDebugEnabled(); void debug(final Object message); void debug(final Supplier<?> message); void debug(final String message, final Object... arguments); void debug(final String message, final Supplier<?>... arguments); void debug(final Throwable exception); void debug(final Throwable exception, final String message); void debug(final Throwable exception, final Supplier<String> message); void debug(final Throwable exception, final String message, final Object... arguments); void debug(final Throwable exception, final String message, final Supplier<?>... arguments); boolean isInfoEnabled(); void info(final Object message); void info(final Supplier<?> message); void info(final String message, final Object... arguments); void info(final String message, final Supplier<?>... arguments); void info(final Throwable exception); void info(final Throwable exception, final String message); void info(final Throwable exception, final Supplier<String> message); void info(final Throwable exception, final String message, final Object... arguments); void info(final Throwable exception, final String message, final Supplier<?>... arguments); boolean isWarnEnabled(); void warn(final Object message); void warn(final Supplier<?> message); void warn(final String message, final Object... arguments); void warn(final String message, final Supplier<?>... arguments); void warn(final Throwable exception); void warn(final Throwable exception, final String message); void warn(final Throwable exception, final Supplier<String> message); void warn(final Throwable exception, final String message, final Object... arguments); void warn(final Throwable exception, final String message, final Supplier<?>... arguments); boolean isErrorEnabled(); void error(final Object message); void error(final Supplier<?> message); void error(final String message, final Object... arguments); void error(final String message, final Supplier<?>... arguments); void error(final Throwable exception); void error(final Throwable exception, final String message); void error(final Throwable exception, final Supplier<String> message); void error(final Throwable exception, final String message, final Object... arguments); void error(final Throwable exception, final String message, final Supplier<?>... arguments);  }
@Test public void isWarnEnabled() { assertThat(logger.isWarnEnabled()).isEqualTo(warnEnabled); }