npm

Need private packages and team management tools?Check out npm Orgs. »

logentries-stream

1.0.0 • Public • Published

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

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)
})

Keywords

none

install

npm i logentries-stream

Downloadsweekly downloads

24

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability