public LogLevel getLogLevel() {
        String logLevel = getLogLevelName();

        if ("debug".equalsIgnoreCase(logLevel)) {
            return LogLevel.DEBUG;
        } else if ("info".equalsIgnoreCase(logLevel)) {
            return LogLevel.INFO;
        } else if ("warning".equalsIgnoreCase(logLevel)) {
            return LogLevel.WARNING;
        } else if ("error".equalsIgnoreCase(logLevel) || "severe".equalsIgnoreCase(logLevel)) {
            return LogLevel.SEVERE;
        } else if ("off".equalsIgnoreCase(logLevel)) {
            return LogLevel.OFF;
        } else {
            throw new UnexpectedLiquibaseException("Unknown log level: " + logLevel+".  Valid levels are: debug, info, warning, error, off");
        }
    }
public LogLevel getLogLevel() {
        String logLevel = getLogLevelName();

        if ("debug".equalsIgnoreCase(logLevel)) {
            return LogLevel.DEBUG;
        } else if ("info".equalsIgnoreCase(logLevel)) {
            return LogLevel.INFO;
        } else if ("warning".equalsIgnoreCase(logLevel)) {
            return LogLevel.WARNING;
        } else if ("error".equalsIgnoreCase(logLevel) || "severe".equalsIgnoreCase(logLevel)) {
            return LogLevel.SEVERE;
        } else if ("off".equalsIgnoreCase(logLevel)) {
            return LogLevel.OFF;
        } else {
            throw new UnexpectedLiquibaseException("Unknown log level: " + logLevel+".  Valid levels are: debug, info, warning, error, off");
        }
    }
public LogLevel getLogLevel ( ) { String logLevel = getLogLevelName ( ) ; if ( "debug" . equalsIgnoreCase ( logLevel ) ) { return LogLevel . DEBUG ; } else if ( "info" . equalsIgnoreCase ( logLevel ) ) { return LogLevel . INFO ; } else if ( "warning" . equalsIgnoreCase ( logLevel ) ) { return LogLevel . WARNING ; } else if ( "error" . equalsIgnoreCase ( logLevel ) || "severe" . equalsIgnoreCase ( logLevel ) ) { return LogLevel . SEVERE ; } else if ( "off" . equalsIgnoreCase ( logLevel ) ) { return LogLevel . OFF ; } else { throw new UnexpectedLiquibaseException ( "Unknown log level: " + logLevel + ".  Valid levels are: debug, info, warning, error, off" ) ; } }
Transforms the strings DEBUG, INFO, WARNING, ERROR and OFF (case-insensitive) into the appropriate LogLevel.
@return a value from the LogLevel enum
Transforms the strings DEBUG INFO WARNING ERROR and OFF ( case - insensitive ) into the appropriate LogLevel .