# DT Logging on iOS

Adjusting the library logging level allows you to receive more information or check for errors. To change the library logging level, call `DTXLogger.setLogLevel` and pass the desired log-level definition.&#x20;

To debug the iOS Library, use the following API:

{% code title="Swift" %}

```swift
DTXLogger.setLogLevel(.debug)
```

{% endcode %}
