Created
October 5, 2022 07:41
-
-
Save danailalexiev/b0a872f409802266c83b47cb0a668472 to your computer and use it in GitHub Desktop.
Kotlin Multiplatform Platform-specific Logging JavaScript
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.* | |
internal actual object HttpLogger : Logger { | |
override fun log(message: String) { | |
console.log("$TAG: $message") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment