# react-native-logmatic

> Send your logs directly to Logmatic with React Native

Latest version **0.1.1** (published 2017-06-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-logmatic
pnpm add react-native-logmatic
yarn add react-native-logmatic
bun add react-native-logmatic
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2017-06-28 |
| First published | 2017-06-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Yann Pringault |
| Maintainers | kerumen |
| Keywords | react-native, react-component, logmatic, logs, android, ios |

## Links

- npm: https://www.npmjs.com/package/react-native-logmatic
- Repository: https://github.com/Kerumen/react-native-logmatic
- Homepage: https://github.com/Kerumen/react-native-logmatic#readme
- Issues: https://github.com/Kerumen/react-native-logmatic/issues
- npm.io page: https://npm.io/package/react-native-logmatic

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2017-06-28
- 0.1.0 — 2017-06-27

## README

# react-native-logmatic
Send your logs directly to [Logmatic](https://logmatic.io/) with React Native.

## Installation

```bash
$ npm install react-native-logmatic
$ react-native link react-native-logmatic
```

### Additional step for iOS

Install the Logmatic iOS SDK via Cocoapods:
 
```ruby
pod 'Logmatic'
```

## Usage

```js
import Logmatic from 'react-native-logmatic'

// init the logger using your APIKey
Logmatic.init(<apiKey>);

// [OPTIONAL] add extra fields for all events
Logmatic.setMetas({ extra: 'meta' });

// log your events (context is optional)
Logmatic.log('My first log');
Logmatic.log('My first log with context', { some: 'context' });

```

---
_Source: https://npm.io/package/react-native-logmatic · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
