public Settings disableAll() { return disable(LogLevel.All.toArray(new LogLevel[0])); }
public Settings disableAll() { return disable(LogLevel.All.toArray(new LogLevel[0])); }
public void testErrorCanBeDisabled() { TestLoggerFactory f = Settings.instance().disable(LogLevel.ErrorLevel).buildLogging(); TestLogger log = f.getLogger("john"); assert (!log.isErrorEnabled()); }