https://kotlinlang.org logo
#ktor
Title
# ktor
l

Lukasz Kalnik

11/13/2021, 6:25 PM
How can I make client logging work in a multiplatform (Android/iOS) project? I have set up logging in my shared code:
Copy code
internal fun createHttpClient() = HttpClient {
            install(Logging) {
                logger = Logger.DEFAULT
                level = LogLevel.ALL
            }
        }
but I see no logs. On Android I use the CIO client.
a

Aleksei Tirman [JB]

11/15/2021, 9:04 AM
Unfortunately, I cannot reproduce it. I've left a comment in KTOR-3416.
5 Views