@ConfigurationProperties(prefix="endpoints.loggers") public class LoggersEndpoint extends AbstractEndpoint<Map<String,Object>>
Endpoint
to expose a collection of LoggerConfiguration
s.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, setSensitive
public LoggersEndpoint(LoggingSystem loggingSystem)
LoggersEndpoint
instance.loggingSystem
- the logging system to exposeCopyright © 2019 Pivotal Software, Inc.. All rights reserved.