@ConfigurationProperties(prefix="endpoints.loggers") public class LoggersMvcEndpoint extends EndpointMvcAdapter
LoggersEndpoint
as an MvcEndpoint
.Modifier and Type | Class and Description |
---|---|
static class |
LoggersMvcEndpoint.InvalidLogLevelException
Exception thrown when the specified log level cannot be found.
|
DISABLED_RESPONSE
Constructor and Description |
---|
LoggersMvcEndpoint(LoggersEndpoint delegate) |
Modifier and Type | Method and Description |
---|---|
Object |
get(String name) |
Object |
set(String name,
Map<String,String> configuration) |
invoke
getDelegate, getDisabledResponse, getEndpointType, getName, getPath, isSensitive, setPath
public LoggersMvcEndpoint(LoggersEndpoint delegate)
@ActuatorGetMapping(value="/{name:.*}") @ResponseBody @HypermediaDisabled public Object get(@PathVariable String name)
@ActuatorPostMapping(value="/{name:.*}") @ResponseBody @HypermediaDisabled public Object set(@PathVariable String name, @RequestBody Map<String,String> configuration)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.