@Test public void testLoggerAsStringAndLogBackLevelAsInfo() { Assert.assertNotNull(logbackVerboseConfigurator); Assert.assertNotNull(loggerContext); logbackVerboseConfigurator.setLoggerLevel("com.paypal.butterfly.cli", Level.INFO); Assert.assertTrue(loggerContext.getLogger("com.paypal.butterfly.cli").getLevel() == ch.qos.logback.classic.Level.INFO); }
@Override public void setLoggerLevel(String logger, org.slf4j.event.Level level) { if(level == null) { throw new IllegalArgumentException("level argument cannot be null"); } loggerContext.getLogger(logger).setLevel(getLogbackLogLevel(level)); }
LogbackLogConfigurator extends LogConfigurator { @Override public void setLoggerLevel(String logger, org.slf4j.event.Level level) { if(level == null) { throw new IllegalArgumentException("level argument cannot be null"); } loggerContext.getLogger(logger).setLevel(getLogbackLogLevel(level)); } }
LogbackLogConfigurator extends LogConfigurator { @Override public void setLoggerLevel(String logger, org.slf4j.event.Level level) { if(level == null) { throw new IllegalArgumentException("level argument cannot be null"); } loggerContext.getLogger(logger).setLevel(getLogbackLogLevel(level)); }  }
LogbackLogConfigurator extends LogConfigurator { @Override public void setLoggerLevel(String logger, org.slf4j.event.Level level) { if(level == null) { throw new IllegalArgumentException("level argument cannot be null"); } loggerContext.getLogger(logger).setLevel(getLogbackLogLevel(level)); }  @Override void setLoggerLevel(String logger, org.slf4j.event.Level level); @Override void setLoggerLevel(Class logger, org.slf4j.event.Level level); @Override void setVerboseMode(boolean verboseMode); @Override void setLogToFile(boolean on); @Override boolean isVerboseMode(); }
LogbackLogConfigurator extends LogConfigurator { @Override public void setLoggerLevel(String logger, org.slf4j.event.Level level) { if(level == null) { throw new IllegalArgumentException("level argument cannot be null"); } loggerContext.getLogger(logger).setLevel(getLogbackLogLevel(level)); }  @Override void setLoggerLevel(String logger, org.slf4j.event.Level level); @Override void setLoggerLevel(Class logger, org.slf4j.event.Level level); @Override void setVerboseMode(boolean verboseMode); @Override void setLogToFile(boolean on); @Override boolean isVerboseMode();  }