Skip to content

Commit 2e9cc25

Browse files
committed
Log the tag if present.
1 parent b9317ee commit 2e9cc25

File tree

1 file changed

+1
-1
lines changed
  • libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/tracing

1 file changed

+1
-1
lines changed

libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/tracing/RustTracingTree.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ internal class RustTracingTree(private val retrieveFromStackTrace: Boolean) : Ti
4949
line = location.line,
5050
level = logLevel,
5151
target = Target.ELEMENT.filter,
52-
message = message,
52+
message = if (tag != null) "[$tag] $message" else message,
5353
)
5454
}
5555

0 commit comments

Comments
 (0)