T
- The typepublic interface LoggersManager<T>
LoggersEndpoint
.Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<T> |
getLogger(ManagedLoggingSystem loggingSystem,
@NotBlank java.lang.String name)
Find (or create if not found) the named logger in the system.
|
org.reactivestreams.Publisher<T> |
getLoggers(ManagedLoggingSystem loggingSystem)
Collect all existing loggers in the system.
|
void |
setLogLevel(ManagedLoggingSystem loggingSystem,
@NotBlank java.lang.String name,
LogLevel level)
Set the log level for the named logger in the system.
|
org.reactivestreams.Publisher<T> getLoggers(ManagedLoggingSystem loggingSystem)
loggingSystem
- The ManagedLoggingSystem
in usePublisher
of T
org.reactivestreams.Publisher<T> getLogger(ManagedLoggingSystem loggingSystem, @NotBlank @NotBlank java.lang.String name)
loggingSystem
- The ManagedLoggingSystem
in usename
- The name of the logger to find or createPublisher
of T
void setLogLevel(ManagedLoggingSystem loggingSystem, @NotBlank @NotBlank java.lang.String name, @NotNull LogLevel level)
loggingSystem
- The ManagedLoggingSystem
in usename
- The name of the logger to find or createlevel
- The log level to configure