Skip to content

Added setLogLevel#531

Merged
NachoSoto merged 3 commits into
mainfrom
debug-level
Feb 2, 2023
Merged

Added setLogLevel#531
NachoSoto merged 3 commits into
mainfrom
debug-level

Conversation

@NachoSoto

@NachoSoto NachoSoto commented Jan 23, 2023

Copy link
Copy Markdown
Contributor

@NachoSoto NachoSoto added the pr:feat A new feature label Jan 23, 2023
@NachoSoto NachoSoto requested a review from a team January 23, 2023 00:27
Comment thread src/purchases.ts
Comment thread apitesters/purchases.ts Outdated
@vegaro

vegaro commented Jan 23, 2023

Copy link
Copy Markdown
Member

I will add it to Android this week

@NachoSoto NachoSoto force-pushed the debug-level branch 2 times, most recently from 068ec10 to a127550 Compare January 23, 2023 19:37
@vegaro

vegaro commented Jan 23, 2023

Copy link
Copy Markdown
Member

@NachoSoto I assigned you the Android task, since you're working on these it might be better for you to tackle that one

Fixes [CSDK-609].
Blocked by [CSDK-549].
@NachoSoto

Copy link
Copy Markdown
Contributor Author

This is ready!

Comment thread __tests__/index.test.js

expect(NativeModules.RNPurchases.setLogLevel).toBeCalledWith("VERBOSE");
expect(NativeModules.RNPurchases.setLogLevel).toBeCalledTimes(2);
});

@vegaro vegaro Jan 27, 2023

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to mention in case it wasn't intentional. This is only testing for Error and Verbose.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I added tests for all levels.

@vegaro

vegaro commented Feb 2, 2023

Copy link
Copy Markdown
Member

Going to merge main into this branch because my branch depends on this change

@NachoSoto NachoSoto enabled auto-merge (squash) February 2, 2023 16:55
@NachoSoto NachoSoto merged commit 67eb192 into main Feb 2, 2023
@NachoSoto NachoSoto deleted the debug-level branch February 2, 2023 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:feat A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants