The Branch Android SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
SDK-2384 -- Add setting log levels to BranchLogger
Description
Add a new way to set the minimum log level in the BranchLogger class by creating BranchLogLevel. This allows us to add log level checks throughout the SDK and gives clients the ability to reduce logs if desired.
Testing Instructions
Call the new enabledLogging methods with the various BranchLogLevels and observe that only the correct logs are appearing.
Risk Assessment [ LOW]
[x] I, the PR creator, have tested — integration, unit, or otherwise — this code.
Reviewer Checklist (To be checked off by the reviewer only)
Reference
SDK-2384 -- Add setting log levels to BranchLogger
Description
Add a new way to set the minimum log level in the BranchLogger class by creating BranchLogLevel. This allows us to add log level checks throughout the SDK and gives clients the ability to reduce logs if desired.
Testing Instructions
Call the new enabledLogging methods with the various BranchLogLevels and observe that only the correct logs are appearing.
Risk Assessment [
LOW
]Reviewer Checklist (To be checked off by the reviewer only)
cc @BranchMetrics/saas-sdk-devs for visibility.