Skip to content

Instantly share code, notes, and snippets.

@danailalexiev
Created October 5, 2022 07:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danailalexiev/0919b8235460c45611e1dad7ea831a99 to your computer and use it in GitHub Desktop.
Save danailalexiev/0919b8235460c45611e1dad7ea831a99 to your computer and use it in GitHub Desktop.
Kotlin Multiplatform Platform-specific Logging Android
package com.infinitelambda.chuck.util
import android.util.Log
import io.ktor.client.plugins.logging.*
internal actual object HttpLogger : Logger {
override fun log(message: String) {
Log.d(TAG, message)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment