0.0.3 • Published 9 years ago

logs-notifications v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

Logs notifications

Send logs message to notifications services or to console.log setting environment variables.

Install

npm install logs-notifications

Environment variables

To send to slack.com you need set the environment variable

export SLACK_TOKEN="slack-token"

Without defined variables the default output is the console.log.

Ignore all messages when

NODE_ENV = 'test'

Usage

var log = require('logs-notifications');
log('hello from logs-notifications');
0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago