-
Set the SDK log level. Configure
RCCoreClient’slogLevelafterSDK initWithAppKey. For example, set it toRC_Log_Level_Errorto collect only error logs, orRC_Log_Level_Infoto collect general info, warnings, and errors. -
Call
setRCLogInfoDelegateonRCCoreClientto set the delegate and implement the method:
- (void)didOccurLog:(NSString *)logInfo;
When the SDK generates logs, your app retrieves internal SDK logs through this delegate method.
Note: Assign the delegate to a class that persists throughout the app’s lifecycle, like a singleton or AppDelegate.