public class BasicLogcatConfigurator extends Object
LogcatAppender to the root logger. The appender's layout is set to a
PatternLayout with the pattern "%msg".
The equivalent default configuration in XML would be:
<configuration>
<appender name="LOGCAT"
class="ch.qos.logback.classic.android.LogcatAppender" >
<checkLoggable>false</checkLoggable>
<encoder>
<pattern>%msg</pattern>
</encoder>
</appender>
<root level="DEBUG" >
<appender-ref ref="LOGCAT" />
</root>
</configuration>
| Modifier and Type | Method and Description |
|---|---|
static void |
configure(LoggerContext lc) |
static void |
configureDefaultContext() |
public static void configure(LoggerContext lc)
public static void configureDefaultContext()
Copyright © 2005–2014 QOS.ch. All rights reserved.