Skip to main content

logs

Description

info

This interface is used to print log information outside the application, which is convenient for the SDK to uniformly collect and upload to the server for problem analysis and positioning.

Note

This interface is expected to be updated.

Function Prototype


- (void)logs:(NSString *)file
line:(NSInteger)line
msgs:(NSString *)msgs
err:(NSString *)err
keyAndValues:(NSArray *)keyAndValues
logLevel:(NSInteger )logLevel;

Input Parameters

Parameter NameParameter TypeRequiredDescription
logLevelNSIntegerNoLog print level
fileNSStringNoFile name
lineNSIntegerNoRecord line number
errNSStringNoError info
keyAndValuesNSArrayNoParameters

Return Result

None

Code Example


[OIMManager.manager logs:@""
line:0
msgs:@""
err:@""
keyAndValues:@[]
logLevel:5];