BranchMetrics / android-branch-deep-linking-attribution

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.
https://docs.branch.io/pages/apps/android/
MIT License
395 stars 155 forks source link

[SDK-2384] Add BranchLogLevel for setting minimum logging level #1189

Closed nsingh-branch closed 2 months ago

nsingh-branch commented 2 months ago

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.