react-native-file-logger
react-native-file-logger copied to clipboard
Android: allow native configuration
This adds support for configuring the logger via a native Android.
While it is already possible to get the logger and log from native as explained in https://github.com/BeTomorrow/react-native-file-logger/issues/38#issuecomment-1130002280, the logs will only show up once the logger is configured via JS, which means logs from services/application which run before the JS will get lost.
By exposing the configure method to native Android it can be used to configure and use the logger before JS is initialized.