react-native-logger-client
A Logger that runs on the device is the same as the chrome console.
Usage
- Integrate into the root component
{ return <View> <App /> /* Let it be at the top of the app */ <Logger /> </View> ;}
- Use it anywhere
console;console;console;console;console;
API
It will automatically integrate with the console, when you use such as console.log
, it will be output to the device.
The following features are currently integrated.
- Console
- log
- info
- warn
- error
Installation
npm install --save react-native-logger-client
TODO
- Mini window can be dragged
- Mini window should be change color when log something
- Limit maximum line number
- Filter log by type
- Show timestamps
- Custom style output
- Run on server