
Facilitates application log observation and management with a Ktor plugin for network request monitoring, enhancing debugging and analysis. Offers debug-only implementation to optimize performance.
Welcome to LogKMPanion! This Kotlin Multiplatform library is designed to help you observe and manage application logs across Android and iOS platforms. With a convenient Ktor plugin, LogKMPanion also allows you to monitor network request logs effortlessly.
implementation("io.github.idfinance-oss:logkmpanion:$version")fun addToLogKMPanion(type: LogType, tag: String, message: String)In Android:
fun openLogKMPanion(context: Context)In iOS
fun LogKMPanionViewControllerProvider(onClose: () -> Unit): UIViewControllerTo display api calls:
Add plugin to Ktor:
fun logKMPanionNetworkPlugin(sessionId: String = uuid4().toString()) //sessionId argument should be passed in case you have multiple http clientsThis project utilizes the following technologies:
The library also provides empty implementation (logkmpanion-no-impl module) with the same
interface (package name and method class names) as logkmpanion module.
So, u can implement logkmpanion module in debug builds and use logkmpanion-no-impl in release mode
implementation("io.github.idfinance-oss:logkmpanion-no-impl:$version")Welcome to LogKMPanion! This Kotlin Multiplatform library is designed to help you observe and manage application logs across Android and iOS platforms. With a convenient Ktor plugin, LogKMPanion also allows you to monitor network request logs effortlessly.
implementation("io.github.idfinance-oss:logkmpanion:$version")fun addToLogKMPanion(type: LogType, tag: String, message: String)In Android:
fun openLogKMPanion(context: Context)In iOS
fun LogKMPanionViewControllerProvider(onClose: () -> Unit): UIViewControllerTo display api calls:
Add plugin to Ktor:
fun logKMPanionNetworkPlugin(sessionId: String = uuid4().toString()) //sessionId argument should be passed in case you have multiple http clientsThis project utilizes the following technologies:
The library also provides empty implementation (logkmpanion-no-impl module) with the same
interface (package name and method class names) as logkmpanion module.
So, u can implement logkmpanion module in debug builds and use logkmpanion-no-impl in release mode
implementation("io.github.idfinance-oss:logkmpanion-no-impl:$version")