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