class 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));
    }

}