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