...
|
...
|
@@ -280,7 +280,7 @@ |
|
|
self.event.param = param;
|
|
|
|
|
|
// 立即发送策略
|
|
|
if (self.logStrategy == LogStrategyImmedi) {
|
|
|
if ((self.logStrategy & LogStrategyImmedi) != 0) {
|
|
|
[[YHAssemblyAssistant sharedInstance] uploadImmedilyWithEvent:self.event];
|
|
|
} else {
|
|
|
[[YHAssemblyAssistant sharedInstance] saveItemData:self.event];
|
...
|
...
|
@@ -304,7 +304,7 @@ |
|
|
self.error.param = param;
|
|
|
|
|
|
// crash 不支持立即发送
|
|
|
if (self.logStrategy == LogStrategyImmedi && ![errorType isEqualToString:kErrorTypeCrash]) {
|
|
|
if ((self.logStrategy & LogStrategyImmedi) != 0 && ![errorType isEqualToString:kErrorTypeCrash]) {
|
|
|
[[YHAssemblyAssistant sharedInstance] uploadImmedilyWithEvent:self.error];
|
|
|
} else {
|
|
|
[[YHAssemblyAssistant sharedInstance] saveItemData:self.error];
|
...
|
...
|
@@ -323,7 +323,7 @@ |
|
|
self.perfermance.param = param;
|
|
|
|
|
|
// 立即发送策略
|
|
|
if (self.logStrategy == LogStrategyImmedi) {
|
|
|
if ((self.logStrategy & LogStrategyImmedi) != 0) {
|
|
|
[[YHAssemblyAssistant sharedInstance] uploadImmedilyWithEvent:self.perfermance];
|
|
|
} else {
|
|
|
[[YHAssemblyAssistant sharedInstance] saveItemData:self.perfermance];
|
...
|
...
|
|