@Singleton @Requires(beans=LoggersEndpoint.class) public class DefaultLoggersManager extends Object implements LoggersManager<Map<String,Object>>
LoggersManager.| Constructor and Description | 
|---|
DefaultLoggersManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
Publisher<Map<String,Object>> | 
getLogger(LoggingSystem loggingSystem,
         String name)
Find (or create if not found) the named logger in the system. 
 | 
Publisher<Map<String,Object>> | 
getLoggers(LoggingSystem loggingSystem)
Collect all existing loggers in the system. 
 | 
void | 
setLogLevel(LoggingSystem loggingSystem,
           String name,
           LogLevel level)
Set the log level for the named logger in the system. 
 | 
public Publisher<Map<String,Object>> getLoggers(LoggingSystem loggingSystem)
LoggersManagergetLoggers in interface LoggersManager<Map<String,Object>>loggingSystem - The LoggingSystem in usePublisher of Tpublic Publisher<Map<String,Object>> getLogger(LoggingSystem loggingSystem, String name)
LoggersManagergetLogger in interface LoggersManager<Map<String,Object>>loggingSystem - The LoggingSystem in usename - The name of the logger to find or createPublisher of Tpublic void setLogLevel(LoggingSystem loggingSystem, String name, LogLevel level)
LoggersManagersetLogLevel in interface LoggersManager<Map<String,Object>>loggingSystem - The LoggingSystem in usename - The name of the logger to find or createlevel - The log level to configure