Skip to content

Commit 9a219f9

Browse files
author
Xia Ning
committed
fix sdk log can't be exported issue
1 parent df5f096 commit 9a219f9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

iOS/APIExample/Examples/Advanced/PrecallTest/PrecallTest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class PrecallTestEntry : UIViewController
3030
config.areaCode = GlobalSettings.shared.area.rawValue
3131
// setup log file path
3232
let logConfig = AgoraLogConfig()
33-
logConfig.filePath = LogUtils.sdkLogPath()
33+
logConfig.level = .info
3434
config.logConfig = logConfig
3535

3636
agoraKit = AgoraRtcEngineKit.sharedEngine(with: config, delegate: self)

iOS/APIExample/Examples/Basic/JoinChannelVideo/JoinChannelVideo.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class JoinChannelVideoMain: BaseViewController {
5858

5959
// setup log file path
6060
let logConfig = AgoraLogConfig()
61-
logConfig.filePath = LogUtils.sdkLogPath()
61+
logConfig.level = .info
6262
config.logConfig = logConfig
6363

6464
agoraKit = AgoraRtcEngineKit.sharedEngine(with: config, delegate: self)

0 commit comments

Comments
 (0)