Step 2: Enable logging
- 29 Jul 2025
- 1 Minute to read
- DarkLight
Step 2: Enable logging
- Updated on 29 Jul 2025
- 1 Minute to read
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback!
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.
To attach the logger, add the following to the code:
ULUpliftSDK.getInstance().setUpliftLogger(object : UpliftLogger {
override fun log(level: Level, message: String) {
// log the message from here as you want
}
)
Was this article helpful?