更新时间:2024-06-28 GMT+08:00
设置日志路径
setLogPath
接口描述
该接口用于设置华为云会议打印日志路径。
注意事项
无
方法定义
1 | + (void)setLogPath:(NSString *)logPath; |
参数描述
参数 | 是否必须 | 类型 | 描述 |
|---|---|---|---|
logPath | 是 | NSString * | 日志路径。 |
返回值
无
示例代码
1 2 3 | /// 路径为默认路径 NSString * logPath= [[NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) firstObject] stringByAppendingPathComponent:@"log"]; [HWMSdk setLogPath:logPath]; |
父主题:基础配置

