Updated on 2024-07-30 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
NSString * logPath= [[NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) firstObject] stringByAppendingPathComponent:@"log"];
[HWMSdk setLogPath:logPath];