mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-06-14 02:31:43 +03:00
17 lines
386 B
Kotlin
17 lines
386 B
Kotlin
package com.amurcanov.tgwsproxy
|
|
|
|
import androidx.compose.runtime.Immutable
|
|
|
|
/**
|
|
* Immutable data class for log entries — ensures Compose skips recomposition
|
|
* when the reference hasn't changed.
|
|
*/
|
|
@Immutable
|
|
data class LogEntry(
|
|
val key: String,
|
|
val message: String,
|
|
val count: Int,
|
|
val isError: Boolean,
|
|
val priority: Int // 3=DEBUG, 4=INFO, 5=WARN, 6=ERROR
|
|
)
|