Skip to content

Instantly share code, notes, and snippets.

@danailalexiev
Created October 5, 2022 07:40
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/c1b83974120b04fbf2264921de4994f2 to your computer and use it in GitHub Desktop.
Save danailalexiev/c1b83974120b04fbf2264921de4994f2 to your computer and use it in GitHub Desktop.
Kotlin Multiplatform Platform-specific Logging iOS
package com.infinitelambda.chuck.util
import io.ktor.client.plugins.logging.*
import platform.Foundation.NSLog
internal actual object HttpLogger: Logger {
override fun log(message: String) {
NSLog("$TAG: $message")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment