-
Set the SDK log level. Configure
RCCoreClient
’slogLevel
afterSDK initWithAppKey
. For example, set it toRC_Log_Level_Error
to collect only error logs, orRC_Log_Level_Info
to collect general info, warnings, and errors. -
Call
setRCLogInfoDelegate
onRCCoreClient
to 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
.