Skip to content

[MOB-11936] Add debugLogsLevel to Instabug.init #337

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

Merged
merged 5 commits into from
Feb 16, 2023

Conversation

TheBuggedYRN
Copy link
Contributor

@TheBuggedYRN TheBuggedYRN commented Feb 13, 2023

Description of the change

A new way to enable SDK debug logs, using the newly added Instabug.init API, that works on all platform and for all modules.

Old Way (Deprecated)

Instabug.setDebugEnabled(true); // Android only
Instabug.setSdkDebugLogsLevel(IBGSDKDebugLogsLevel.error); // iOS only
APM.setLogLevel(LogLevel.error); // APM only

New Way

Instabug.init({
  // ...
  debugLogsLevel: LogLevel.error,
});

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Issue links go here

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests

Code review

  • This pull request has a descriptive title and information useful to a reviewer
  • Issue from task tracker has a link to this pull request

@TheBuggedYRN TheBuggedYRN self-assigned this Feb 13, 2023
@TheBuggedYRN TheBuggedYRN marked this pull request as ready for review February 13, 2023 13:08
@TheBuggedYRN TheBuggedYRN requested a review from a7medev February 16, 2023 09:21
@TheBuggedYRN TheBuggedYRN changed the title Add debugLogsLevel to Instabug.init [MOB-11936] Add debugLogsLevel to Instabug.init Feb 16, 2023
@TheBuggedYRN TheBuggedYRN merged commit 41d8ba3 into dev Feb 16, 2023
@TheBuggedYRN TheBuggedYRN deleted the feat/init-debug-logs branch February 16, 2023 10:22
HeshamMegid pushed a commit that referenced this pull request Feb 21, 2023
A new way to enable SDK debug logs, using the newly added
`Instabug.init` API, that works on all platform and for all modules.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants