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.
|
default void |
setLogLevel(LoggingSystem loggingSystem,
@NotBlank String name,
@NotNull LogLevel level)
Deprecated.
|
void |
setLogLevel(LoggingSystem loggingSystem,
@NotBlank String name,
LogLevel level)
Set the log level for the named logger in the system.
|
Publisher<T> getLoggers(LoggingSystem loggingSystem)
loggingSystem - The LoggingSystem in usePublisher of TPublisher<T> getLogger(LoggingSystem loggingSystem, @NotBlank @NotBlank String name)
loggingSystem - The LoggingSystem in usename - The name of the logger to find or createPublisher of T@Deprecated default void setLogLevel(LoggingSystem loggingSystem, @NotBlank @NotBlank String name, @NotNull @NotNull LogLevel level)
setLogLevel(LoggingSystem, String, io.micronaut.logging.LogLevel) insteadloggingSystem - The LoggingSystem in usename - The name of the logger to find or createlevel - The log level to configurevoid setLogLevel(LoggingSystem loggingSystem, @NotBlank @NotBlank String name, @NotNull LogLevel level)
loggingSystem - The LoggingSystem in usename - The name of the logger to find or createlevel - The log level to configure