Package | Description |
---|---|
org.springframework.boot.actuate.logging |
Actuator support for logging.
|
org.springframework.boot.context.logging |
Logging integration with Spring's Application Context.
|
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 |
---|---|
void |
LoggersEndpoint.configureLogLevel(String name,
LogLevel configuredLevel) |
Modifier and Type | Method and Description |
---|---|
protected void |
LoggingApplicationListener.initializeLogLevel(LoggingSystem system,
LogLevel level) |
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 |
---|---|
LogLevel |
AbstractLoggingSystem.LogLevels.convertNativeToSystem(T level) |
LogLevel |
LoggerConfiguration.getConfiguredLevel()
Returns the configured level of the logger.
|
LogLevel |
LoggerConfiguration.getEffectiveLevel()
Returns the effective level of the logger.
|
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 |
---|---|
Set<LogLevel> |
AbstractLoggingSystem.LogLevels.getSupported() |
Set<LogLevel> |
LoggingSystem.getSupportedLogLevels()
Returns a set of the
LogLevels that are actually supported by the
logging system. |
Modifier and Type | Method and Description |
---|---|
T |
AbstractLoggingSystem.LogLevels.convertSystemToNative(LogLevel level) |
void |
AbstractLoggingSystem.LogLevels.map(LogLevel system,
T nativeLevel) |
void |
LoggingSystem.setLogLevel(String loggerName,
LogLevel level)
Sets the logging level for a given logger.
|
Constructor and Description |
---|
LoggerConfiguration(String name,
LogLevel configuredLevel,
LogLevel effectiveLevel)
Create a new
instance . |
Modifier and Type | Method and Description |
---|---|
Set<LogLevel> |
JavaLoggingSystem.getSupportedLogLevels() |
Modifier and Type | Method and Description |
---|---|
void |
JavaLoggingSystem.setLogLevel(String loggerName,
LogLevel level) |
Modifier and Type | Method and Description |
---|---|
Set<LogLevel> |
Log4J2LoggingSystem.getSupportedLogLevels() |
Modifier and Type | Method and Description |
---|---|
void |
Log4J2LoggingSystem.setLogLevel(String loggerName,
LogLevel logLevel) |
Modifier and Type | Method and Description |
---|---|
Set<LogLevel> |
LogbackLoggingSystem.getSupportedLogLevels() |
Modifier and Type | Method and Description |
---|---|
void |
LogbackLoggingSystem.setLogLevel(String loggerName,
LogLevel level) |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.