From 3f48a1bb333d8e21ffcf4811acd6da6eff1b6de5 Mon Sep 17 00:00:00 2001 From: Jannis Mattheis Date: Sun, 8 Oct 2023 09:04:10 +0200 Subject: [PATCH] fixup! Configure tinylog --- app/src/main/kotlin/com/github/gotify/log/LoggerHelper.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/github/gotify/log/LoggerHelper.kt b/app/src/main/kotlin/com/github/gotify/log/LoggerHelper.kt index 8a95feff..cee7cca1 100644 --- a/app/src/main/kotlin/com/github/gotify/log/LoggerHelper.kt +++ b/app/src/main/kotlin/com/github/gotify/log/LoggerHelper.kt @@ -15,7 +15,10 @@ class LoggerHelper { .reversed() .joinToString(separator = "\n") - private fun groupExceptions(newLines: MutableList, line: String): MutableList { + private fun groupExceptions( + newLines: MutableList, + line: String + ): MutableList { if (newLines.isNotEmpty() && (line.startsWith('\t') || line.startsWith("Caused"))) { newLines[newLines.lastIndex] += '\n' + line } else {