Created
October 5, 2022 07:40
-
-
Save danailalexiev/c1b83974120b04fbf2264921de4994f2 to your computer and use it in GitHub Desktop.
Kotlin Multiplatform Platform-specific Logging iOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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