Package | Description |
---|---|
org.springframework.boot.actuate.logging |
Actuator support for logging.
|
org.springframework.boot.autoconfigure.logging |
Auto-configuration 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) |
protected String |
LoggersEndpoint.LoggerLevels.getName(LogLevel level) |
Constructor and Description |
---|
GroupLoggerLevels(LogLevel configuredLevel,
List<String> members) |
LoggerLevels(LogLevel configuredLevel) |
Modifier and Type | Method and Description |
---|---|
LogLevel |
ConditionEvaluationReportLoggingListener.getLogLevelForReport() |
Constructor and Description |
---|
ConditionEvaluationReportLoggingListener(LogLevel logLevelForReport) |
Modifier and Type | Method and Description |
---|---|
protected void |
LoggingApplicationListener.initializeSpringBootLogging(LoggingSystem system,
LogLevel springBootLogging)
Initialize loggers based on the
springBootLogging setting. |
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 |
LoggerGroup.getConfiguredLevel() |
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 |
---|---|
void |
LoggerGroup.configureLogLevel(LogLevel level,
BiConsumer<String,LogLevel> configurer) |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
LoggerGroup.configureLogLevel(LogLevel level,
BiConsumer<String,LogLevel> configurer) |
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) |