-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
feat(android): add prop to control debug log level #3277
feat(android): add prop to control debug log level #3277
Conversation
…native-video into chore/add_custom_log_level_configuration # Conflicts: # Video.js
…native-video into chore/add_custom_log_level_configuration
…native-video into chore/add_custom_log_level_configuration
val key = iterator.nextKey() | ||
result[key] = readableMap.getString(key) | ||
} | ||
return result |
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.
Is this same as this ?
https://github.com/react-native-video/react-native-video/blob/abdf3988a9173924ba8007003c007b633a2c44f6/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerViewManager.java#L449C5-L464C6
If yes, do we need the old one ?
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.
Thank you, I will remove the old one !
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.
Done, Thank you !
…native-video into chore/add_custom_log_level_configuration
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.
LGTM 👍
Add custom log level prop for android.
It allows to increase log verbosity on demand.
This is a preliminary PR for futur work.
A toolbox to handle safe parsing of component props has also be created (more job to do to apply it systematically).
Documentation updated.