Skip to content

Commit

Permalink
Update BranchLogger.m
Browse files Browse the repository at this point in the history
  • Loading branch information
nsingh-branch committed Dec 11, 2024
1 parent bb02891 commit cfba091
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Sources/BranchSDK/BranchLogger.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ - (instancetype)init {
os_log_type_t osLogType = [BranchLogger osLogTypeForBranchLogLevel:logLevel];
os_log_with_type(log, osLogType, "%{private}@", formattedMessage);
};

// default advanced callback sends logs to os_log
_advancedLogCallback = ^(NSString * _Nonnull message, BranchLogLevel logLevel, NSError * _Nullable error, NSMutableURLRequest * _Nullable request, BNCServerResponse * _Nullable response) {
NSString *formattedMessage = [BranchLogger formatMessage:message logLevel:logLevel error:error];

os_log_t log = os_log_create("io.branch.sdk", "BranchSDK");
os_log_type_t osLogType = [BranchLogger osLogTypeForBranchLogLevel:logLevel];
os_log_with_type(log, osLogType, "%{private}@", formattedMessage);
};
}
return self;
}
Expand Down

0 comments on commit cfba091

Please sign in to comment.