# logentries-stream

> A stream wrapper for logentries

Latest version **1.0.0** (published 2015-06-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install logentries-stream
pnpm add logentries-stream
yarn add logentries-stream
bun add logentries-stream
```

## 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.0.0 |
| Published | 2015-06-19 |
| First published | 2012-12-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Anton Whalley |
| Maintainers | no9 |

## Links

- npm: https://www.npmjs.com/package/logentries-stream
- Repository: https://github.com/No9/logentries-stream
- Homepage: https://github.com/No9/logentries-stream#readme
- Issues: https://github.com/No9/logentries-stream/issues
- npm.io page: https://npm.io/package/logentries-stream

## Dependencies (1)

- [le_node](https://npm.io/package/le_node.md) ^1.0.6

## Recent versions

- 1.0.0 (latest) — 2015-06-19
- 0.0.1 — 2012-12-18

## README

# logentries-stream

Simple Stream interface for logentries based on https://github.com/logentries/le_node
Please see that project for account creation and configuration for log keys etc.

## Prerequisites
[A logentries account](www.logentries.com)

## Install
```
npm install logentries-stream
```

## Usage 

```
// Create a stream per log level
var logstream = require('logentries-stream')('LOG_TOKEN', 'LOG_LEVEL');

logstream.write('Hello World');

// Log to stderr in case of connection issues. 
logtream.on('error', function(err) {
	process.stderr.write(err)
})
```

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