Example usage for org.springframework.boot.logging LogLevel OFF

List of usage examples for org.springframework.boot.logging LogLevel OFF

Introduction

In this page you can find the example usage for org.springframework.boot.logging LogLevel OFF.

Prototype

LogLevel OFF

To view the source code for org.springframework.boot.logging LogLevel OFF.

Click Source Link

Usage

From source file:org.springframework.boot.context.logging.LoggingApplicationListener.java

private LogLevel coerceLogLevel(String level) {
    if ("false".equalsIgnoreCase(level)) {
        return LogLevel.OFF;
    }//  w  ww  .j  ava2 s  .  c  om
    return LogLevel.valueOf(level.toUpperCase(Locale.ENGLISH));
}

From source file:org.springframework.boot.logging.LoggingApplicationListener.java

private LogLevel coerceLogLevel(String level) {
    if ("false".equalsIgnoreCase(level)) {
        return LogLevel.OFF;
    }/*ww w .j  a v a 2  s. co  m*/
    return LogLevel.valueOf(level.toUpperCase());
}