| Modifier and Type | Class and Description |
|---|---|
static class |
LoggersEndpoint.GroupLoggerLevels |
static class |
LoggersEndpoint.LoggerLevels
Levels configured for a given logger exposed in a JSON friendly way.
|
static class |
LoggersEndpoint.SingleLoggerLevels |
| Constructor and Description |
|---|
LoggersEndpoint(org.springframework.boot.logging.LoggingSystem loggingSystem,
org.springframework.boot.logging.LoggerGroups loggerGroups)
Create a new
LoggersEndpoint instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
configureLogLevel(java.lang.String name,
org.springframework.boot.logging.LogLevel configuredLevel) |
LoggersEndpoint.LoggerLevels |
loggerLevels(java.lang.String name) |
java.util.Map<java.lang.String,java.lang.Object> |
loggers() |
public LoggersEndpoint(org.springframework.boot.logging.LoggingSystem loggingSystem,
org.springframework.boot.logging.LoggerGroups loggerGroups)
LoggersEndpoint instance.loggingSystem - the logging system to exposeloggerGroups - the logger group to expose@ReadOperation public java.util.Map<java.lang.String,java.lang.Object> loggers()
@ReadOperation public LoggersEndpoint.LoggerLevels loggerLevels(@Selector java.lang.String name)
@WriteOperation public void configureLogLevel(@Selector java.lang.String name, @Nullable org.springframework.boot.logging.LogLevel configuredLevel)