1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 01:55:50 +01:00

Limit logcat tags to 80 characters

Avoids them being sometimes not properly recognized in Android Studio
logcat.
This commit is contained in:
José Rebelo 2024-08-30 22:38:22 +01:00
parent 1c19283192
commit 21aff699a7

View File

@ -3,6 +3,10 @@
<appender name="STDOUT" class="ch.qos.logback.classic.android.LogcatAppender">
<!-- encoders are by default assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder -->
<tagEncoder>
<pattern>%logger{80}</pattern>
</tagEncoder>
<!-- include [%-20thread] to print thread -->
<encoder>
<pattern>%msg</pattern>
</encoder>