an IRC transport for Winston
winston-irc is an IRC transport for Winston, the awesome node.js logging library.
returns a new transport instance. you probably won't ever use this constructor directly, it's more convenient to use it through Winston as in the example.
options is an object with the following properties
as of node 0.8.16, sockets don't support ref/unref yet. this means winston-irc will keep your app from terminating because node sees there's still something active. when available winston-irc uses ref/unref (supported from node 0.9.1 on) so that your application will smoothly terminate as usual when everything's been done and logged.
winstonaddrequire'winston-irc'host: 'irc.somewhere.net'nick: 'logger'pass: 'hunter2'channels:'#logs': true'sysadmin': 'warn' 'error';
or use it in your Flatiron app:
app.logget'default'addrequire'winston-irc'host: 'irc.somewhere.net'nick: 'logger'pass: 'hunter2'channels:'#logs': true'sysadmin': 'warn' 'error';