@Singleton @Requires(classes=ch.qos.logback.classic.LoggerContext.class) @Internal public final class LogbackLoggingSystem extends Object implements LoggingSystem
LoggingSystem that works with logback.| Constructor and Description | 
|---|
| LogbackLoggingSystem(String logbackXmlLocation)Deprecated. 
 Use  LogbackLoggingSystem(String, String)instead | 
| LogbackLoggingSystem(String logbackExternalConfigLocation,
                    String logbackXmlLocation) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | refresh()Refreshes Logging System with the goal of cleaning its internal caches. | 
| void | setLogLevel(String name,
           LogLevel level)Set the log level for the logger found by name (or created if not found). | 
@Deprecated public LogbackLoggingSystem(@Nullable @Property(name="logger.config") String logbackXmlLocation)
LogbackLoggingSystem(String, String) insteadlogbackXmlLocation - @Inject public LogbackLoggingSystem(@Nullable @Property(name="logback.configurationFile") String logbackExternalConfigLocation, @Nullable @Property(name="logger.config") String logbackXmlLocation)
logbackExternalConfigLocation - The location of the logback configuration file set via logback propertieslogbackXmlLocation - The location of the logback configuration file set via micronaut propertiespublic void setLogLevel(String name, LogLevel level)
LoggingSystemsetLogLevel in interface LoggingSystemname - the logger namelevel - the log level to set on the named loggerpublic void refresh()
LoggingSystemrefresh in interface LoggingSystem