Package | Description |
---|---|
org.springframework.boot.logging |
Support and abstractions across several logging libraries.
|
org.springframework.boot.logging.java |
Support for 'Java Util Logging'.
|
org.springframework.boot.logging.log4j2 |
Support for the Log4j 2 logging library.
|
org.springframework.boot.logging.logback |
Support for the Logback logging library.
|
Modifier and Type | Method and Description |
---|---|
static LogLevel |
LogLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogLevel[] |
LogLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected void |
LoggingApplicationListener.initializeLogLevel(LoggingSystem system,
LogLevel level) |
abstract void |
LoggingSystem.setLogLevel(String loggerName,
LogLevel level)
Sets the logging level for a given logger.
|
void |
LoggingApplicationListener.setSpringBootLogging(LogLevel springBootLogging)
Sets a custom logging level to be used for Spring Boot and related libraries.
|
Modifier and Type | Method and Description |
---|---|
void |
JavaLoggingSystem.setLogLevel(String loggerName,
LogLevel level) |
Modifier and Type | Method and Description |
---|---|
void |
Log4J2LoggingSystem.setLogLevel(String loggerName,
LogLevel logLevel) |
Modifier and Type | Method and Description |
---|---|
void |
LogbackLoggingSystem.setLogLevel(String loggerName,
LogLevel level) |
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.