allogator

0.0.3 • Public • Published

allogator

Switch logging services on and off in any project by simply setting environment variables

npm install

var log = require('allogator')('my-log')

Returns a winston-chains instance

Set the following environment variables to turn on any of the services below

Slack

SLACK_LOG_WEBHOOK

SLACK_LOG_CHANNEL

(note that the stack trace will be included if an error is passed in meta as { error: Error })

Loggly

LOGGLY_TOKEN

LOGGLY_SUBDOMAIN (your loggly account subdomain)

LOGGLY_TAGS (comma-separated list of tags you want associated with these log messages)

LogEntries

LOGENTRIES_TOKEN

Package Sidebar

Install

npm i allogator

Weekly Downloads

0

Version

0.0.3

License

MIT

Last publish

Collaborators

  • bdentino