Skip to content

Commit

Permalink
Log only keys of custom signals.
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharkhandelwal8 committed Dec 19, 2024
1 parent c2d859d commit b51e459
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions FirebaseRemoteConfig/Sources/FIRRemoteConfig.m
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,9 @@ - (void)setCustomSignals:(nonnull NSDictionary<NSString *, NSObject *> *)customS
if (![newCustomSignals isEqualToDictionary:self->_settings.customSignals]) {
self->_settings.customSignals = newCustomSignals;
}
// Log the final updated custom signals.
FIRLogDebug(kFIRLoggerRemoteConfig, @"I-RCN000078", @"Updated custom signals: %@",
newCustomSignals);
// Log the keys of the updated custom signals.
FIRLogDebug(kFIRLoggerRemoteConfig, @"I-RCN000078", @"Keys of updated custom signals: %@",
[newCustomSignals allKeys]);

if (completionHandler) {
dispatch_async(dispatch_get_main_queue(), ^{
Expand Down
6 changes: 3 additions & 3 deletions FirebaseRemoteConfig/Sources/RCNConfigSettings.m
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,9 @@ - (NSString *)nextRequestWithUserProperties:(NSDictionary *)userProperties {
[[NSString alloc]
initWithData:jsonData
encoding:NSUTF8StringEncoding]]];
// Log the custom signals during fetch.
FIRLogDebug(kFIRLoggerRemoteConfig, @"I-RCN000078", @"Fetching with custom signals: %@",
customSignals);
// Log the keys of the custom signals sent during fetch.
FIRLogDebug(kFIRLoggerRemoteConfig, @"I-RCN000078",
@"Keys of custom signals during fetch: %@", [customSignals allKeys]);
}
}
ret = [ret stringByAppendingString:@"}"];
Expand Down

0 comments on commit b51e459

Please sign in to comment.