Skip to content

Commit ccd6958

Browse files
authored
Merge pull request #4981 from element-hq/feature/fga/log_pack_notif
misc (tracing) : add new TraceLogPack.Notification
2 parents d9ede05 + 1f426da commit ccd6958

File tree

2 files changed

+4
-0
lines changed
  • libraries/matrix

2 files changed

+4
-0
lines changed

libraries/matrix/api/src/main/kotlin/io/element/android/libraries/matrix/api/tracing/TraceLogPack.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ enum class TraceLogPack(val key: String) {
1616
},
1717
TIMELINE("timeline") {
1818
override val title: String = "Timeline"
19+
},
20+
NOTIFICATION_CLIENT("notification_client") {
21+
override val title: String = "Notification Client"
1922
};
2023

2124
abstract val title: String

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ fun TraceLogPack.map(): RustTraceLogPack = when (this) {
1414
TraceLogPack.SEND_QUEUE -> RustTraceLogPack.SEND_QUEUE
1515
TraceLogPack.EVENT_CACHE -> RustTraceLogPack.EVENT_CACHE
1616
TraceLogPack.TIMELINE -> RustTraceLogPack.TIMELINE
17+
TraceLogPack.NOTIFICATION_CLIENT -> RustTraceLogPack.NOTIFICATION_CLIENT
1718
}
1819

1920
fun Collection<TraceLogPack>.map(): List<RustTraceLogPack> {

0 commit comments

Comments
 (0)