BundleLoggingProvider implements LoggingProvider { @Override public Level getMinimumLevel() { Level minimumLevel = Level.OFF; for (int i = 0; i < loggingProviders.length; ++i) { Level level = loggingProviders[i].getMinimumLevel(); if (level.ordinal() < minimumLevel.ordinal()) { minimumLevel = level; } } return minimumLevel; } BundleLoggingProvider(final Collection<LoggingProvider> providers); @Override ContextProvider getContextProvider(); @Override Level getMinimumLevel(); @Override Level getMinimumLevel(final String tag); @Override boolean isEnabled(final int depth, final String tag, final Level level); @Override void log(final int depth, final String tag, final Level level, final Throwable exception, final MessageFormatter formatter,
		final Object obj, final Object... arguments); @Override void log(final String loggerClassName, final String tag, final Level level, final Throwable exception,
		final MessageFormatter formatter, final Object obj, final Object... arguments); @Override void shutdown();  }
@Test public void getSameGlobalMinimumLevel() { init(Level.TRACE, Level.TRACE); assertThat(bundle.getMinimumLevel()).isEqualTo(Level.TRACE); }
@Test public void getDifferentGlobalMinimumLevel() { init(Level.DEBUG, Level.WARN); assertThat(bundle.getMinimumLevel()).isEqualTo(Level.DEBUG); }
@Test public void getSameTaggedMinimumLevel() { init(Level.TRACE, Level.TRACE); assertThat(bundle.getMinimumLevel(null)).isEqualTo(Level.TRACE); }
@Test public void getDifferentTaggedMinimumLevel() { init(Level.DEBUG, Level.WARN); assertThat(bundle.getMinimumLevel(null)).isEqualTo(Level.DEBUG); }