Skip to content
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

rn: add native loggers #4579

Merged
merged 1 commit into from
Sep 4, 2019
Merged

rn: add native loggers #4579

merged 1 commit into from
Sep 4, 2019

Conversation

saghul
Copy link
Member

@saghul saghul commented Aug 28, 2019

These provide the ability to integrate the SDK with some other application
loggers.

At the time this was written we use Timer on Android and CocoaLumberjack on iOS.

In addition to the integration capabilities, a LogBridge React Native module
provides log transports for JavaScript code, thus centralizing all logs on the
native loggers.

TODO

  • addHandler / removeHandler on iOS
  • set logger transports very early
  • use the new loggers in our native modules

@saghul saghul force-pushed the native-log branch 5 times, most recently from e3a3546 to 7fd0688 Compare August 29, 2019 15:35
@saghul saghul changed the title WIP rn: add native loggers rn: add native loggers Aug 29, 2019
@saghul saghul marked this pull request as ready for review August 29, 2019 15:36
Copy link
Member

@paweldomas paweldomas left a comment

Choose a reason for hiding this comment

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

LGTM, but I've noticed few places where log calls may require adjustments.

@paweldomas
Copy link
Member

I was also thinking that JitsiMeetBaseLogHandler and JitsiMeetDefaultLogHandler could use a one sentence explanation in the docs on what are those classes doing.

@saghul
Copy link
Member Author

saghul commented Sep 3, 2019

@paweldomas Updated, PTAL!

These provide the ability to integrate the SDK with some other application
loggers.

At the time this was written we use Timber on Android and CocoaLumberjack on iOS.

In addition to the integration capabilities, a LogBridge React Native module
provides log transports for JavaScript code, thus centralizing all logs on the
native loggers.
@saghul
Copy link
Member Author

saghul commented Sep 3, 2019

@paweldomas Updated again!

@saghul saghul merged commit 902da8c into jitsi:master Sep 4, 2019
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