Add missing trace log packs
This commit is contained in:
parent
289c0751d5
commit
9723a7c426
2 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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> {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue