Log to Jam from iOS.
npm install expo-jam-logA React Native module that lets you send log events to Jam for iOS so that they can be associated with your Jam.
``typescript
import ExpoJamLog, { Level } from "expo-jam-log";
ExpoJamLog.log("Hello world!", level: Level.Debug);
`
Also supports Level.Info, Level.Warn and Level.Error.
ExpoJamLog can be configured to automatically log console events to Jam. This is configured by calling bootstrap:
`typescript
ExpoJamLog.bootstrap();
console.debug("Hello world!");
`
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.
For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.
``
npm install expo-jam-log
Run npx pod-install` after installing the npm package.