Step 2: Enable logging
  • 20 Jun 2023
  • 1 Minute to read
  • Dark
    Light

Step 2: Enable logging

  • Dark
    Light

Article summary

Enable logging

It's possible to attach a custom logger to the SDK, which allows the host application to have more control over what and how to log.

ULUpliftSDK.setUpliftLogger(object : UpliftLogger {
    override fun log(level: Level, message: String) {
        // log the message from here as you want
    }
})

Was this article helpful?