20 lines
516 B
Kotlin
20 lines
516 B
Kotlin
package tech.xvanturing.freeproxy.vpn.log
|
|
|
|
enum class LogLevel { SUCCESS, FAILURE }
|
|
|
|
/**
|
|
* DragonTCP Lite intentionally keeps the Android UI log focused on DragonTCP
|
|
* adaptive chunk changes. Per-connection and per-DNS logs are no-ops here.
|
|
*/
|
|
object TunnelLog {
|
|
fun connect(
|
|
target: String,
|
|
packageName: String?,
|
|
status: String,
|
|
level: LogLevel,
|
|
domain: String? = null,
|
|
) = Unit
|
|
|
|
fun dns(message: String, packageName: String?, domain: String? = null) = Unit
|
|
}
|