1.0.1 • Published 4 years ago

react-native-native-logger v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

react-native-native-logger

Getting started

Purpose of this library is to read javascript logs from the native side in release or debug builds

$ yarn add react-native-native-logger

Mostly automatic installation

$ react-native link react-native-native-logger

The linking is for android only as there is no native iOS code

Usage

import NativeLogger from "react-native-native-logger";

NativeLogger.log("Your message here");

Logging levels

iOS

  • debug: info
  • release: error

Android

  • debug: info
  • release: info