Add missing trace log packs
This commit is contained in:
committed by
Jorge Martin Espinosa
parent
289c0751d5
commit
9723a7c426
@@ -20,6 +20,12 @@ enum class TraceLogPack(val key: String) {
|
||||
},
|
||||
NOTIFICATION_CLIENT("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
|
||||
|
||||
@@ -16,6 +16,8 @@ fun TraceLogPack.map(): RustTraceLogPack = when (this) {
|
||||
TraceLogPack.EVENT_CACHE -> RustTraceLogPack.EVENT_CACHE
|
||||
TraceLogPack.TIMELINE -> RustTraceLogPack.TIMELINE
|
||||
TraceLogPack.NOTIFICATION_CLIENT -> RustTraceLogPack.NOTIFICATION_CLIENT
|
||||
TraceLogPack.LATEST_EVENTS -> RustTraceLogPack.LATEST_EVENTS
|
||||
TraceLogPack.SYNC_PROFILING -> RustTraceLogPack.SYNC_PROFILING
|
||||
}
|
||||
|
||||
fun Collection<TraceLogPack>.map(): List<RustTraceLogPack> {
|
||||
|
||||
Reference in New Issue
Block a user