Updated on 2023-03-23 GMT+08:00

Setting a Log Path

setLogPath

API Description

This API is used to set a path for storing HUAWEI CLOUD Meeting logs.

Precautions

None

Method Definition

1
+ (void)setLogPath:(NSString *)logPath;

Parameter Description

Table 1 Parameter description

Parameter

Mandatory

Type

Description

logPath

Yes

NSString *

Log path.

Return Values

None

Sample Code

1
2
3
/// Use the default path.
NSString * logPath= [[NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) firstObject] stringByAppendingPathComponent:@"log"];
[HWMSdk setLogPath:logPath];