flatiron/winston — Issue #83: Used winston-amqp
Author: DrMartiner
Created: 2012-01-10 06:32:22+00:00
State: open

How I can add amqp transport in named logger?

winston = require('winston')
AMQP = require('winston-amqp').AMQP
options =
host: 'localhost'
winston.add(AMQP, options);

winston.loggers.add('loggerName',
console:
level: 'silly',
colorize: 'true'
winston-amqp: # Error! How I can log in amqp?
level: 'debug'
)