initial: oboe, logging

This commit is contained in:
2026-02-01 02:54:05 +01:00
commit 8b6de6a883
45 changed files with 1514 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<configuration>
<property name="LOG_DIR" value="/data/data/at.lockstep.app/files" />
<appender name="logcat" class="ch.qos.logback.classic.android.LogcatAppender">
<encoder>
<pattern>%msg</pattern>
</encoder>
</appender>
<!--
<appender name="logfile" class="ch.qos.logback.core.FileAppender">
<file>${LOG_DIR}/debug.log</file>
<encoder>
<pattern>%d{yyyy-MM-dd' 'HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
-->
<root level="DEBUG">
<appender-ref ref="logcat" />
<!-- in other app, detached from MainActivity.onCreate(), unless AppSettings.logfileDebugging = true -->
<!--
<appender-ref ref="logfile" />
-->
</root>
</configuration>