禁用 Flurry Xcode 控制台日志记录

Disable Flurry Xcode console logging

使用最新的 Flurry iOS SDK 8.0.2,我一直在 Xcode 控制台中看到这个。如何禁用此日志记录?

FlurrySession: Attempting to record Event eventName[xxxx] with parameters[xxxx]
FlurrySession: Event count for eventName[xxxx] updated to count[1]
FlurrySession: Recording event eventName[xxxx] with parameters[(null)] complete

有更详细的日志记录

FlurryDataSenderBase: networkStatusChanged to  reachable
FlurryDataSenderBase: networkStatusChanged to  reachable
FlurryDataSender: Not sent blocks count [3]
FlurrySession: networkStatusChanged to  reachable
FlurryPulseReportSender: -[FlurryPulseCBReportSender retransmitNotSentBlocks], Not sent blocks count [0]
FlurrySession: networkStatusChanged to  reachable

Flurry: HTTP connection delegate received response[<NSHTTPURLResponse: 0x61800022f7a0> { URL: https://data.flurry.com/aas.do } { status code: 200, headers {

"Content-Length" = 198;
"Content-Type" = "application/octet-stream";
Date = "Sat, 06 May 2017 19:07:01 GMT";
Server = nginx;
} }]

FlurryDataSender: async http response code: 200, id [89610511-B2AF-4D50-B2EF-B45E7EDFC357]

+[FlurryGlobalVariableStorage getPersistentFilePath:]: /Users/xxxxxx/Library/Developer/CoreSimulator/Devices/xxxxxxx-8D00-4012ABC56E4A/data/Containers/Data/Application/xxxxxxxxF5D-848F-31412106EFA5/Library/Application Support/FlurryFiles/.flurryCkData427987809_198.archive

您可以通过调用 Flurry.h

setLogLevel: 选择器来禁用日志
[Flurry setLogLevel:FlurryLogLevelNone];

Swift.

Flurry.setLogLevel(FlurryLogLevelNone)