The log
Set the log level when you initialize:.none, .error, .warning (the default), .info, .debug. At .debug the SDK logs every request and its answer, every ad with its price, every load, show and end with its reason, and every tracking event as it fires. The lines go to the unified log under the subsystem so.kontext.video; in Console.app, filter on that subsystem to see only the SDK.
Turn it back to .warning for release.
The state
initialize(with:) reports where the SDK is, through its completion or as its async result:
Errors
Every call that cannot do its job throws, and a thrown error means nothing happened on screen. The ones you will meet while integrating:
The full list is in the API reference.
When something looks off
- Set
logLevel: .debugand reproduce. - Copy the SDK’s lines from the console, from
initializeto the moment it went wrong. - Send them to support@kontext.so with your publisher token and the ad id from the log.