Class LoggersEndpoint
java.lang.Object
org.springframework.boot.actuate.logging.LoggersEndpoint
@Endpoint
to expose a collection of LoggerConfiguration
s.- Since:
- 2.0.0
- Author:
- Ben Hale, Phillip Webb, HaiTao Zhang
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Levels configured for a given logger exposed in a JSON friendly way.static class
-
Constructor Summary
ConstructorDescriptionLoggersEndpoint
(LoggingSystem loggingSystem, LoggerGroups loggerGroups) Create a newLoggersEndpoint
instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
configureLogLevel
(String name, LogLevel configuredLevel) loggerLevels
(String name) loggers()
-
Constructor Details
-
LoggersEndpoint
Create a newLoggersEndpoint
instance.- Parameters:
loggingSystem
- the logging system to exposeloggerGroups
- the logger group to expose
-
-
Method Details
-
loggers
-
loggerLevels
-
configureLogLevel
@WriteOperation public void configureLogLevel(@Selector String name, @Nullable LogLevel configuredLevel)
-