off-logger

0.1.1 • Public • Published

off-logger

Logger library to point your logs to an stream by tcp-port direction. Use it with logstash, fluentd, nagios, many others or your own stream captor.

Install

Easy peasy :)

npm install off-logger

Maybe you'll need a sudo Maybe you want a --save flag [jiji]

Init on your app starting point

var offlogger = require('off-logger');

GLOBAL.log = offlogger.init('off-tryLogger', 4242);

Use it anywhere

Note the fantabulous object log. You can log at any place of your app.

log.info('Awesome!! So simple!');

Powered by Huballin.com

Package Sidebar

Install

npm i off-logger

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • sospedra