Skip to content

Instantly share code, notes, and snippets.

@danailalexiev
Created October 5, 2022 07:41
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/b0a872f409802266c83b47cb0a668472 to your computer and use it in GitHub Desktop.
Save danailalexiev/b0a872f409802266c83b47cb0a668472 to your computer and use it in GitHub Desktop.
Kotlin Multiplatform Platform-specific Logging JavaScript
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