@ConfigurationProperties(prefix="endpoints.loggers") public class LoggersEndpoint extends AbstractEndpoint<Map<String,Object>>
Endpoint to expose a collection of LoggerConfigurations.| Modifier and Type | Class and Description |
|---|---|
static class |
LoggersEndpoint.LoggerLevels
Levels configured for a given logger exposed in a JSON friendly way.
|
| Constructor and Description |
|---|
LoggersEndpoint(LoggingSystem loggingSystem)
Create a new
LoggersEndpoint instance. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
invoke()
Called to invoke the endpoint.
|
LoggersEndpoint.LoggerLevels |
invoke(String name) |
void |
setLogLevel(String name,
LogLevel level) |
getEnvironment, getId, isEnabled, isSensitive, setEnabled, setEnvironment, setId, setSensitivepublic LoggersEndpoint(LoggingSystem loggingSystem)
LoggersEndpoint instance.loggingSystem - the logging system to exposeCopyright © 2017 Pivotal Software, Inc.. All rights reserved.