@Singleton @Requires(beans=LoggersEndpoint.class) @Requires(classes=ch.qos.logback.classic.LoggerContext.class) @Replaces(value=LogbackLoggingSystem.class) public class LogbackLoggingSystem extends java.lang.Object implements ManagedLoggingSystem, LoggingSystem
ManagedLoggingSystem that works with logback.| Constructor and Description | 
|---|
LogbackLoggingSystem()  | 
| Modifier and Type | Method and Description | 
|---|---|
LoggerConfiguration | 
getLogger(java.lang.String name)
Returns a  
LoggerConfiguration for the logger found by name (or created if not found). | 
java.util.Collection<LoggerConfiguration> | 
getLoggers()
Returns all existing loggers. 
 | 
void | 
setLogLevel(java.lang.String name,
           LogLevel level)
Set the log level for the logger found by name (or created if not found). 
 | 
@NonNull public java.util.Collection<LoggerConfiguration> getLoggers()
ManagedLoggingSystemgetLoggers in interface ManagedLoggingSystemCollection of LoggerConfiguration instances for all existing loggers@NonNull public LoggerConfiguration getLogger(java.lang.String name)
ManagedLoggingSystemLoggerConfiguration for the logger found by name (or created if not found).getLogger in interface ManagedLoggingSystemname - the logger namepublic void setLogLevel(java.lang.String name,
                        LogLevel level)
LoggingSystemsetLogLevel in interface LoggingSystemname - the logger namelevel - the log level to set on the named logger