禁用Flurry Xcode控制台日志记录

时间:2017-05-06 18:26:30

标签: ios xcode flurry flurry-analytics

使用最新的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

1 个答案:

答案 0 :(得分:5)

您可以通过调用Flurry.h的setLogLevel:选择器来禁用日志。

[Flurry setLogLevel:FlurryLogLevelNone];

夫特。

Flurry.setLogLevel(FlurryLogLevelNone)