04/16/2021, 12:11 PM
Is there some trick to getting logging working with multiplatform? I've followed the Ktor docs ( but am getting nothing. My ktor client code is in commonMain, but I've tried delegating logging to an (Android) expected function, which is just a copy of the long logging experimental code, but still get nothing. I'm somewhat (ie very) stuck :(
It appears that not all client features are equal. Logging only seems to work if I create the logger when I create the client object. Other features, for example authorisation, can be set up later.