Skip to content

Commit 68dc1e1

Browse files
add logback.xml to android-client, for slf4j
1 parent 996fe5b commit 68dc1e1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<configuration debug="true">
2+
<!-- Create a logcat appender -->
3+
<appender name="logcat" class="ch.qos.logback.classic.android.LogcatAppender">
4+
<tagEncoder>
5+
<pattern>%logger{0}</pattern>
6+
</tagEncoder>
7+
8+
<encoder>
9+
<pattern>[%thread] - %msg%n</pattern>
10+
</encoder>
11+
</appender>
12+
13+
<!-- Write INFO (and higher-level) messages to logcat -->
14+
<root level="TRACE">
15+
<appender-ref ref="logcat" />
16+
</root>
17+
</configuration>

0 commit comments

Comments
 (0)