How do I enable debug logs in the Bitmovin iOS & tvOS Player SDK?

Enabling debug logs in the Bitmovin Player iOS & tvOS SDK can be useful when encountering unexpected behavior. Also, when you file a bug report, please include debug logs.

To enable debug logs in the Bitmovin Player iOS & tvOS SDK, add the following line:

DebugConfig.logging.logger?.level = .verbose

This will enable exhaustive debug logging via the currently set Logger on DebugConfig.logging.logger.

💡

Note

We recommend setting this flag only when troubleshooting something or when reporting a bug to Bitmovin via the Bitmovin Dashboard.