expo-jam-log
v0.1.2
Published
Log to Jam from iOS.
Maintainers
Readme
expo-jam-log
A React Native module that lets you send log events to Jam for iOS so that they can be associated with your Jam.
Usage
import ExpoJamLog, { Level } from "expo-jam-log";
ExpoJamLog.log("Hello world!", level: Level.Debug);Also supports Level.Info, Level.Warn and Level.Error.
Automatic Logging
ExpoJamLog can be configured to automatically log console events to Jam. This is configured by calling bootstrap:
ExpoJamLog.bootstrap();
console.debug("Hello world!");Installation
Managed Expo projects
For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release. If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release.
Bare React Native projects
For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.
Add the package to your npm dependencies
npm install expo-jam-logConfigure for iOS
Run npx pod-install after installing the npm package.
