Debug mode


Android

It is possible to enable the display of extended logs in Logcat. To do this, you can call the static method MyTargetManager.setDebugMode(true)

MyTargetManager.setDebugMode(true)

iOS

To enable the output of debugging information to the device console (or Xcode), you need to call the method:

[MTRGManager setDebugMode:YES];
To work with logs in code, use:

MTRGManager.customLogger
Pass your implementation of MTRGLogger to this property to get debugging information of different types.
Was this article helpful?