# pushover-logger

> Uses [pushover](https://pushover.net) to log errors directly to your phone (or any other connected device) as notifications.

Latest version **1.1.0** (published 2018-01-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install pushover-logger
pnpm add pushover-logger
yarn add pushover-logger
bun add pushover-logger
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2018-01-18 |
| First published | 2018-01-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Christoph Michel |
| Maintainers | cmichel |

## Links

- npm: https://www.npmjs.com/package/pushover-logger
- npm.io page: https://npm.io/package/pushover-logger

## Recent versions

- 1.1.0 (latest) — 2018-01-18
- 1.0.1 — 2018-01-15
- 1.0.0 — 2018-01-15

## README

# pushover-logger
Uses [pushover](https://pushover.net) to log errors directly to your phone (or any other connected device) as notifications.

## Setup
Needs the following environment variables:

```
PUSHOVER_USER_KEY=a...
PUSHOVER_TOKEN=b...
```

## API
```js
import logger from 'pushover-logger'
logger.setTitle('App Name')

// will not use pushover, but `console.log` instead
logger.enableDebug()

// write log
logger.log('message')
logger.log({
    message: 'message',
    sound: 'intermission',
    // any other option mentioned in PUSHOVER
})
```

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