mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-22 08:42:38 +00:00
trim null characters in logs
This commit is contained in:
1 file changed
+3
-1
@@ -212,7 +212,9 @@ data class LogLine(
|
||||
|
||||
val identifier = time.toJavaInstant()
|
||||
|
||||
val messageTrimmed by lazy { this.message.trim() }
|
||||
val messageTrimmed by lazy {
|
||||
this.message.trim { it <= ' ' }
|
||||
}
|
||||
|
||||
val formattedTime by lazy { this.time.toLocalDateTime(TimeZone.currentSystemDefault()) }
|
||||
val asSimpleString by lazy {
|
||||
|
||||
Reference in new issue
Block a user