call "init()" in index.js or your app or other location, init should happen as early as possible in your application's lifecycle.
npm i log2mejs
...
import Log2Me from 'log2mejs';
Log2Me.init();
If you want to read the log at your device