---
updatedAt: 2025-07-18T13:08:21.000Z
agentTools:
  projectIndex: https://developers.dailymotion.com/v0/llms.txt
---

# Configure logs (iOS SDK)

Dailymotion iOS SDK uses `os_log` to log Player informations.

# Logging levels

* `off`
* `debug`
* `info` (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.

```swift
Dailymotion.createPlayer(playerId: "PlayerId", logLevels: [.all]) { playerView, error in
       
}
```

> 💡 Tip
>
> While integrating the SDK, we recommend setting the level to `.all` to get detailed output and ensure everything works as expected.