misc (tracing) : add new TraceLogPack.Notification

This commit is contained in:
ganfra
2025-07-04 14:35:36 +02:00
parent 389d6964b5
commit 56520c9282
2 changed files with 4 additions and 0 deletions

View File

@@ -16,6 +16,9 @@ enum class TraceLogPack(val key: String) {
},
TIMELINE("timeline") {
override val title: String = "Timeline"
},
NOTIFICATION_CLIENT("notification_client") {
override val title: String = "Notification Client"
};
abstract val title: String

View File

@@ -14,6 +14,7 @@ fun TraceLogPack.map(): RustTraceLogPack = when (this) {
TraceLogPack.SEND_QUEUE -> RustTraceLogPack.SEND_QUEUE
TraceLogPack.EVENT_CACHE -> RustTraceLogPack.EVENT_CACHE
TraceLogPack.TIMELINE -> RustTraceLogPack.TIMELINE
TraceLogPack.NOTIFICATION_CLIENT -> RustTraceLogPack.NOTIFICATION_CLIENT
}
fun Collection<TraceLogPack>.map(): List<RustTraceLogPack> {