mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 20:01:55 +00:00
Add missing trace log packs
This commit is contained in:
committed by
Jorge Martin Espinosa
parent
27cb88d88e
commit
881877b23e
+6
@@ -20,6 +20,12 @@ enum class TraceLogPack(val key: String) {
|
|||||||
},
|
},
|
||||||
NOTIFICATION_CLIENT("notification_client") {
|
NOTIFICATION_CLIENT("notification_client") {
|
||||||
override val title: String = "Notification Client"
|
override val title: String = "Notification Client"
|
||||||
|
},
|
||||||
|
SYNC_PROFILING("sync_profiling") {
|
||||||
|
override val title: String = "Sync Profiling"
|
||||||
|
},
|
||||||
|
LATEST_EVENTS("latest_events") {
|
||||||
|
override val title = "Latest Events"
|
||||||
};
|
};
|
||||||
|
|
||||||
abstract val title: String
|
abstract val title: String
|
||||||
|
|||||||
+2
@@ -16,6 +16,8 @@ fun TraceLogPack.map(): RustTraceLogPack = when (this) {
|
|||||||
TraceLogPack.EVENT_CACHE -> RustTraceLogPack.EVENT_CACHE
|
TraceLogPack.EVENT_CACHE -> RustTraceLogPack.EVENT_CACHE
|
||||||
TraceLogPack.TIMELINE -> RustTraceLogPack.TIMELINE
|
TraceLogPack.TIMELINE -> RustTraceLogPack.TIMELINE
|
||||||
TraceLogPack.NOTIFICATION_CLIENT -> RustTraceLogPack.NOTIFICATION_CLIENT
|
TraceLogPack.NOTIFICATION_CLIENT -> RustTraceLogPack.NOTIFICATION_CLIENT
|
||||||
|
TraceLogPack.LATEST_EVENTS -> RustTraceLogPack.LATEST_EVENTS
|
||||||
|
TraceLogPack.SYNC_PROFILING -> RustTraceLogPack.SYNC_PROFILING
|
||||||
}
|
}
|
||||||
|
|
||||||
fun Collection<TraceLogPack>.map(): List<RustTraceLogPack> {
|
fun Collection<TraceLogPack>.map(): List<RustTraceLogPack> {
|
||||||
|
|||||||
Reference in New Issue
Block a user