Configure logs (iOS SDK)
Dailymotion iOS SDK uses os_log to log Player informations.
Logging levels
offdebuginfo(default)error(default)all
By default, the SDK logs .info and .error.
Customize logs
To customise the level of details logs should return, use the createPlayer method and pass in the logLevels parameter the desired value. The SDK will then handle logs as expected.
Dailymotion.createPlayer(playerId: "PlayerId", logLevels: [.all]) { playerView, error in
}
TipWhile integrating the SDK, we recommend setting the level to
.allto get detailed output and ensure everything works as expected.
Updated 5 months ago
