-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SDK-2527] Add request & response objects to the BranchLogCallback #1458
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple questions but seems good
|
||
if (self.logCallback) { | ||
|
||
if (self.advancedLogCallback) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nsingh-branch Since advancedLogCallback
is always non-null, its initialized in init
, else if
condition will never be executed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the default init since it shouldn't be necessary to have both. All of the tests appear to be passing now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did the new automation succeed as well?
Reference
SDK-2427 -- Add request & response objects to the BranchLogCallback
Summary
Updates the BranchLogCallback to include the request and response objects themselves rather than just include the data in the log message.
Motivation
Make it easier to parse networking logs.
Type Of Change
Testing Instructions
Try out the new BranchLogCallback with the request and response. This is a breaking change since it adds new fields to the BranchLogCallback
cc @BranchMetrics/saas-sdk-devs for visibility.