Skip to content

Commit e0470fb

Browse files
committed
Change from VERBOSE to DEBUG log level
1 parent 0dc55fe commit e0470fb

File tree

7 files changed

+39
-39
lines changed

7 files changed

+39
-39
lines changed

iOS_SDK/OneSignalSDK/Source/OSAttributedFocusTimeProcessor.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ - (void)beginDelayBackgroundTask {
5050
}
5151

5252
- (void)endDelayBackgroundTask {
53-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE
53+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG
5454
message:[NSString stringWithFormat:@"OSAttributedFocusTimeProcessor:endDelayBackgroundTask:%d", delayBackgroundTask]];
5555
[UIApplication.sharedApplication endBackgroundTask:delayBackgroundTask];
5656
delayBackgroundTask = UIBackgroundTaskInvalid;
@@ -67,7 +67,7 @@ - (NSString*)unsentActiveTimeUserDefaultsKey {
6767
- (void)sendOnFocusCall:(OSFocusCallParams *)params {
6868
let unsentActive = [super getUnsentActiveTime];
6969
let totalTimeActive = unsentActive + params.timeElapsed;
70-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE
70+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG
7171
message:[NSString stringWithFormat:@"sendOnFocusCall attributed with totalTimeActive %f", totalTimeActive]];
7272

7373
[super saveUnsentActiveTime:totalTimeActive];
@@ -76,7 +76,7 @@ - (void)sendOnFocusCall:(OSFocusCallParams *)params {
7676

7777
- (void)sendUnsentActiveTime:(OSFocusCallParams *)params {
7878
let unsentActive = [super getUnsentActiveTime];
79-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE
79+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG
8080
message:[NSString stringWithFormat:@"sendUnsentActiveTime attributed with unsentActive %f", unsentActive]];
8181

8282
[self sendOnFocusCallWithParams:params totalTimeActive:unsentActive];
@@ -109,7 +109,7 @@ - (void)sendBackgroundAttributedFocusPingWithNSTimer:(NSTimer*)timer {
109109

110110
- (void)sendBackgroundAttributedFocusPingWithParams:(OSFocusCallParams*)params withTotalTimeActive:(NSNumber*)totalTimeActive {
111111
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
112-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:@"beginBackgroundAttributedFocusTask start"];
112+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:@"beginBackgroundAttributedFocusTask start"];
113113

114114
let requests = [NSMutableDictionary new];
115115

@@ -122,10 +122,10 @@ - (void)sendBackgroundAttributedFocusPingWithParams:(OSFocusCallParams*)params w
122122

123123
[OneSignalClient.sharedClient executeSimultaneousRequests:requests withSuccess:^(NSDictionary *result) {
124124
[super saveUnsentActiveTime:0];
125-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:@"sendOnFocusCallWithParams attributed succeed, saveUnsentActiveTime with 0"];
125+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:@"sendOnFocusCallWithParams attributed succeed, saveUnsentActiveTime with 0"];
126126
[self endDelayBackgroundTask];
127127
} onFailure:^(NSDictionary<NSString *, NSError *> *errors) {
128-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:@"sendOnFocusCallWithParams attributed failed, will retry on next open"];
128+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:@"sendOnFocusCallWithParams attributed failed, will retry on next open"];
129129
[self endDelayBackgroundTask];
130130
}];
131131
});

iOS_SDK/OneSignalSDK/Source/OSBaseFocusTimeProcessor.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ - (int)getMinSessionTime {
4343
}
4444

4545
- (BOOL)hasMinSyncTime:(NSTimeInterval)activeTime {
46-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"OSBaseFocusTimeProcessor hasMinSyncTime getMinSessionTime: %d activeTime: %f", [self getMinSessionTime], activeTime]];
46+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"OSBaseFocusTimeProcessor hasMinSyncTime getMinSessionTime: %d activeTime: %f", [self getMinSessionTime], activeTime]];
4747
return activeTime >= [self getMinSessionTime];
4848
}
4949

iOS_SDK/OneSignalSDK/Source/OSFocusTimeProcessorFactory.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ + (void)cancelFocusCall {
4545
let timeProcesor = [self.focusTimeProcessors objectForKey:key];
4646
[timeProcesor cancelDelayedJob];
4747
}
48-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"cancelFocusCall of %@", self.focusTimeProcessors]];
48+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"cancelFocusCall of %@", self.focusTimeProcessors]];
4949
}
5050

5151
+ (void)resetUnsentActiveTime {
@@ -54,7 +54,7 @@ + (void)resetUnsentActiveTime {
5454
[timeProcesor resetUnsentActiveTime];
5555
}
5656

57-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"resetUnsentActiveTime of %@", self.focusTimeProcessors]];
57+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"resetUnsentActiveTime of %@", self.focusTimeProcessors]];
5858
}
5959

6060
+ (OSBaseFocusTimeProcessor *)createTimeProcessorWithInfluences:(NSArray<OSInfluence *> *)lastInfluences focusEventType:(FocusEventType)focusEventType {
@@ -86,7 +86,7 @@ + (OSBaseFocusTimeProcessor *)createTimeProcessorWithInfluences:(NSArray<OSInflu
8686
[self.focusTimeProcessors setValue:timeProcesor forKey:key];
8787
}
8888

89-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE
89+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG
9090
message:[NSString stringWithFormat:@"TimeProcessor %@ for session attributed %d", timeProcesor, isAttributed]];
9191

9292
return timeProcesor;

iOS_SDK/OneSignalSDK/Source/OSOutcomeEventsRepository.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ - (NSArray *)getNotCachedUniqueInfluencesForOutcome:(NSString *)name influences:
129129
}
130130

131131
- (void)saveUniqueOutcomeEventParams:(OSOutcomeEventParams *)eventParams {
132-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"OSOutcomeEventsRepository saveUniqueOutcomeEventParams: %@", eventParams.description]];
132+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"OSOutcomeEventsRepository saveUniqueOutcomeEventParams: %@", eventParams.description]];
133133
if (eventParams.outcomeSource == nil)
134134
return;
135135

@@ -144,7 +144,7 @@ - (void)saveUniqueOutcomeEventParams:(OSOutcomeEventParams *)eventParams {
144144
NSArray<OSCachedUniqueOutcome *> *attributedUniqueOutcomeEventSent = [self getAttributedUniqueOutcomeEventSent];
145145

146146
NSArray *finalAttributedUniqueOutcomeEventSent = [attributedUniqueOutcomeEventSent arrayByAddingObjectsFromArray:newAttributedIds];
147-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"OSOutcomeEventsRepository finalAttributedUniqueOutcomeEventSent: %@", finalAttributedUniqueOutcomeEventSent.description]];
147+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"OSOutcomeEventsRepository finalAttributedUniqueOutcomeEventSent: %@", finalAttributedUniqueOutcomeEventSent.description]];
148148
[self saveAttributedUniqueOutcomeEventNotificationIds:finalAttributedUniqueOutcomeEventSent];
149149
}
150150

iOS_SDK/OneSignalSDK/Source/OSSessionManager.m

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,20 @@ - (instancetype _Nonnull)init:(Class<SessionStatusDelegate>)delegate withTracker
5959
}
6060

6161
- (void)initSessionFromCache {
62-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:@"OneSignal SessionManager initSessionFromCache"];
62+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:@"OneSignal SessionManager initSessionFromCache"];
6363
[_trackerFactory initFromCache];
64-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"SessionManager restored from cache with influences: %@", [self getInfluences].description]];
64+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"SessionManager restored from cache with influences: %@", [self getInfluences].description]];
6565
}
6666

6767
- (void)restartSessionIfNeeded:(AppEntryAction)entryAction {
6868
NSArray<OSChannelTracker *> *channelTrackers = [_trackerFactory channelsToResetByEntryAction:entryAction];
6969
NSMutableArray<OSInfluence *> *updatedInfluences = [NSMutableArray new];
7070

71-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"OneSignal SessionManager restartSessionIfNeeded with entryAction:: %u channelTrackers: %@", entryAction, channelTrackers.description]];
71+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"OneSignal SessionManager restartSessionIfNeeded with entryAction:: %u channelTrackers: %@", entryAction, channelTrackers.description]];
7272

7373
for (OSChannelTracker *channelTracker in channelTrackers) {
7474
NSArray *lastIds = [channelTracker lastReceivedIds];
75-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"OneSignal SessionManager restartSessionIfNeeded lastIds: %@", lastIds]];
75+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"OneSignal SessionManager restartSessionIfNeeded lastIds: %@", lastIds]];
7676

7777
OSInfluence *influence = [channelTracker currentSessionInfluence];
7878
BOOL updated;
@@ -89,30 +89,30 @@ - (void)restartSessionIfNeeded:(AppEntryAction)entryAction {
8989
}
9090

9191
- (void)onInAppMessageReceived:(NSString *)messageId {
92-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"OneSignal SessionManager onInAppMessageReceived messageId: %@", messageId]];
92+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"OneSignal SessionManager onInAppMessageReceived messageId: %@", messageId]];
9393

9494
OSChannelTracker *inAppMessageTracker = [_trackerFactory iamChannelTracker];
9595
[inAppMessageTracker saveLastId:messageId];
9696
[inAppMessageTracker resetAndInitInfluence];
9797
}
9898

9999
- (void)onDirectInfluenceFromIAMClick:(NSString *)directIAMId {
100-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"OneSignal SessionManager onDirectInfluenceFromIAMClick messageId: %@", directIAMId]];
100+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"OneSignal SessionManager onDirectInfluenceFromIAMClick messageId: %@", directIAMId]];
101101

102102
OSChannelTracker *inAppMessageTracker = [_trackerFactory iamChannelTracker];
103103
// We don't care about ending the session duration because IAM doesn't influence a session
104104
[self setSessionForChannel:inAppMessageTracker withInfluenceType:DIRECT directNotificationId:directIAMId indirectNotificationIds:nil];
105105
}
106106

107107
- (void)onDirectInfluenceFromIAMClickFinished {
108-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:@"OneSignal SessionManager onDirectInfluenceFromIAMClickFinished"];
108+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:@"OneSignal SessionManager onDirectInfluenceFromIAMClickFinished"];
109109

110110
OSChannelTracker *inAppMessageTracker = [_trackerFactory iamChannelTracker];
111111
[inAppMessageTracker resetAndInitInfluence];
112112
}
113113

114114
- (void)onNotificationReceived:(NSString *)notificationId {
115-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"OneSignal SessionManager onNotificationReceived notificationId: %@", notificationId]];
115+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"OneSignal SessionManager onNotificationReceived notificationId: %@", notificationId]];
116116

117117
if (notificationId == nil || notificationId.length == 0)
118118
return;
@@ -122,7 +122,7 @@ - (void)onNotificationReceived:(NSString *)notificationId {
122122
}
123123

124124
- (void)onDirectInfluenceFromNotificationOpen:(AppEntryAction)entryAction withNotificationId:(NSString *)directNotificationId {
125-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"OneSignal SessionManager onDirectInfluenceFromNotificationOpen notificationId: %@", directNotificationId]];
125+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"OneSignal SessionManager onDirectInfluenceFromNotificationOpen notificationId: %@", directNotificationId]];
126126

127127
if (directNotificationId == nil || directNotificationId.length == 0)
128128
return;
@@ -143,7 +143,7 @@ - (void)attemptSessionUpgrade:(AppEntryAction)entryAction {
143143
}
144144

145145
- (void)attemptSessionUpgrade:(AppEntryAction)entryAction withDirectId:(NSString *)directId {
146-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"OneSignal SessionManager attemptSessionUpgrade with entryAction: %u", entryAction]];
146+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"OneSignal SessionManager attemptSessionUpgrade with entryAction: %u", entryAction]];
147147

148148
OSChannelTracker *channelTrackerByAction = [_trackerFactory channelByEntryAction:entryAction];
149149
NSArray<OSChannelTracker *> *channelTrackersToReset = [_trackerFactory channelsToResetByEntryAction:entryAction];
@@ -158,7 +158,7 @@ - (void)attemptSessionUpgrade:(AppEntryAction)entryAction withDirectId:(NSString
158158
}
159159

160160
if (updated) {
161-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"OneSignal SessionManager attemptSessionUpgrade channel updated, search for ending direct influences on channels: %@", channelTrackersToReset]];
161+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"OneSignal SessionManager attemptSessionUpgrade channel updated, search for ending direct influences on channels: %@", channelTrackersToReset]];
162162
[influencesToEnd addObject:lastInfluence];
163163

164164
// Only one session influence channel can be DIRECT at the same time
@@ -172,7 +172,7 @@ - (void)attemptSessionUpgrade:(AppEntryAction)entryAction withDirectId:(NSString
172172
}
173173
}
174174

175-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:@"OneSignal SessionManager attemptSessionUpgrade try UNATTRIBUTED to INDIRECT upgrade"];
175+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:@"OneSignal SessionManager attemptSessionUpgrade try UNATTRIBUTED to INDIRECT upgrade"];
176176
// We will try to override the UNATTRIBUTED session with INDIRECT
177177
for (OSChannelTracker *channelTracker in channelTrackersToReset) {
178178
if (channelTracker.influenceType == UNATTRIBUTED) {
@@ -190,7 +190,7 @@ - (void)attemptSessionUpgrade:(AppEntryAction)entryAction withDirectId:(NSString
190190
}
191191
}
192192

193-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"Trackers after update attempt: %@", [_trackerFactory channels].description]];
193+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"Trackers after update attempt: %@", [_trackerFactory channels].description]];
194194
[self sendSessionEndingWithInfluences:influencesToEnd];
195195
}
196196

@@ -202,7 +202,7 @@ - (BOOL)setSessionForChannel:(OSChannelTracker *)channelTracker withInfluenceTyp
202202
return NO;
203203

204204
NSString *message = @"OSChannelTracker changed: %@ \nfrom: \ninfluenceType: %@ \n, directNotificationId: %@ \n, indirectNotificationIds: %@ \nto: \ninfluenceType: %@ \n, directNotificationId: %@ \n, indirectNotificationIds: %@";
205-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:message,
205+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:message,
206206
[channelTracker idTag],
207207
OS_INFLUENCE_TYPE_TO_STRING(channelTracker.influenceType),
208208
channelTracker.directId,
@@ -216,7 +216,7 @@ - (BOOL)setSessionForChannel:(OSChannelTracker *)channelTracker withInfluenceTyp
216216
channelTracker.indirectIds = indirectNotificationIds;
217217
[channelTracker cacheState];
218218

219-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"Trackers changed to: %@", [_trackerFactory channels].description]];
219+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"Trackers changed to: %@", [_trackerFactory channels].description]];
220220

221221
return YES;
222222
}
@@ -250,7 +250,7 @@ - (BOOL)willChangeSessionForChannel:(OSChannelTracker *)channelTracker withInflu
250250
}
251251

252252
- (void)sendSessionEndingWithInfluences:(NSArray<OSInfluence *> *)endingInfluences {
253-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"OneSignal SessionManager sendSessionEndingWithInfluences with influences: %@", endingInfluences.description]];
253+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"OneSignal SessionManager sendSessionEndingWithInfluences with influences: %@", endingInfluences.description]];
254254
// Only end session if there are influences available to end
255255
if (endingInfluences.count > 0 && _delegate)
256256
[_delegate onSessionEnding:endingInfluences];

iOS_SDK/OneSignalSDK/Source/OSUnattributedFocusTimeProcessor.m

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ - (void)beginBackgroundFocusTask {
4848
}
4949

5050
- (void)endBackgroundFocusTask {
51-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE
51+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG
5252
message:[NSString stringWithFormat:@"OSUnattributedFocusTimeProcessor:endDelayBackgroundTask:%lu", (unsigned long)focusBackgroundTask]];
5353
[UIApplication.sharedApplication endBackgroundTask: focusBackgroundTask];
5454
focusBackgroundTask = UIBackgroundTaskInvalid;
55-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:@"endBackgroundFocusTask called"];
55+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:@"endBackgroundFocusTask called"];
5656
}
5757

5858
- (int)getMinSessionTime {
@@ -67,10 +67,10 @@ - (void)sendOnFocusCall:(OSFocusCallParams *)params {
6767
let unsentActive = [super getUnsentActiveTime];
6868
let totalTimeActive = unsentActive + params.timeElapsed;
6969

70-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"sendOnFocusCall unattributed with totalTimeActive %f", totalTimeActive]];
70+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"sendOnFocusCall unattributed with totalTimeActive %f", totalTimeActive]];
7171

7272
if (![super hasMinSyncTime:totalTimeActive]) {
73-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"unattributed influence saveUnsentActiveTime %f", totalTimeActive]];
73+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"unattributed influence saveUnsentActiveTime %f", totalTimeActive]];
7474
[super saveUnsentActiveTime:totalTimeActive];
7575
return;
7676
}
@@ -80,7 +80,7 @@ - (void)sendOnFocusCall:(OSFocusCallParams *)params {
8080

8181
- (void)sendUnsentActiveTime:(OSFocusCallParams *)params {
8282
let unsentActive = [super getUnsentActiveTime];
83-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:[NSString stringWithFormat:@"sendUnsentActiveTime unattributed with unsentActive %f", unsentActive]];
83+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:[NSString stringWithFormat:@"sendUnsentActiveTime unattributed with unsentActive %f", unsentActive]];
8484

8585
[self sendOnFocusCallWithParams:params totalTimeActive:unsentActive];
8686
}
@@ -91,7 +91,7 @@ - (void)sendOnFocusCallWithParams:(OSFocusCallParams *)params totalTimeActive:(N
9191

9292
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
9393
[self beginBackgroundFocusTask];
94-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:@"beginBackgroundFocusTask start"];
94+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:@"beginBackgroundFocusTask start"];
9595

9696
let deviceType = [NSNumber numberWithInt:DEVICE_TYPE_PUSH];
9797
let requests = [NSMutableDictionary new];
@@ -103,10 +103,10 @@ - (void)sendOnFocusCallWithParams:(OSFocusCallParams *)params totalTimeActive:(N
103103

104104
[OneSignalClient.sharedClient executeSimultaneousRequests:requests withSuccess:^(NSDictionary *result) {
105105
[super saveUnsentActiveTime:0];
106-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:@"sendOnFocusCallWithParams unattributed succeed, saveUnsentActiveTime with 0"];
106+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:@"sendOnFocusCallWithParams unattributed succeed, saveUnsentActiveTime with 0"];
107107
[self endBackgroundFocusTask];
108108
} onFailure:^(NSDictionary<NSString *,NSError *> *errors) {
109-
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:@"sendOnFocusCallWithParams unattributed failed, will retry on next open"];
109+
[OneSignal onesignal_Log:ONE_S_LL_DEBUG message:@"sendOnFocusCallWithParams unattributed failed, will retry on next open"];
110110
[self endBackgroundFocusTask];
111111
}];
112112
});

0 commit comments

Comments
 (0)