OneAgent for iOS debug logging
To enable debug logging for iOS, add the DTXLogLevel
configuration key to your app's Info.plist
file:
<key>DTXLogLevel</key>
<string>ALL</string>
The available log levels are listed below in order of increasing detail—each level includes the information of the preceding log levels.
Log level | Information captured |
---|---|
OFF | OneAgent version only |
SEVERE | Events impacting OneAgent functionality that might disable monitoring |
WARNING | Events that might lead to problems |
INFO | Additional informational messages |
ALL | All debug information |
While running your app, you should find logs in the console within the Xcode debug area. Note that the log level is designed for troubleshooting and has no impact on the data captured by OneAgent.
The default log level is OFF
, as heavy logging can impact your app's performance.