@Endpoint(id="loggers", defaultEnabled=true, defaultSensitive=false) public class LoggersEndpoint extends Object
Endpoint
to manage loggers.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED
Endpoint default enabled.
|
static boolean |
DEFAULT_SENSITIVE
Endpoint default sensitivity.
|
static String |
NAME
Endpoint name.
|
static String |
PREFIX
Endpoint configuration prefix.
|
Constructor and Description |
---|
LoggersEndpoint(LoggingSystem loggingSystem,
LoggersManager<Map<String,Object>> loggersManager) |
public static final String NAME
public static final String PREFIX
public static final boolean DEFAULT_ENABLED
public static final boolean DEFAULT_SENSITIVE
public LoggersEndpoint(LoggingSystem loggingSystem, LoggersManager<Map<String,Object>> loggersManager)
loggingSystem
- the LoggingSystem
loggersManager
- the LoggersManager
@Read public io.reactivex.Single<Map<String,Object>> loggers()
Single
@Read public io.reactivex.Single<Map<String,Object>> logger(@NotBlank @Selector @NotBlank String name)
name
- The name of the logger to findLogLevel
(both configured and effective) of the named logger