-
Notifications
You must be signed in to change notification settings - Fork 37
Logging
abreits edited this page Nov 20, 2015
·
1 revision
Amqp-ts uses the winston logging framework.
The winston logger instance is exposed in the log variable of the amqp-ts module. The default logger is set to only log errors to the console. You can change the logging behaviour, for example set the loglevel to 'info':
var amqp = require('amqp-ts');
amqp.log.transports.console.level = 'info';
For information on how to change other log settings check the winston documentation.
The amqp-ts log level can also be set with the AMQPTS_LOGLEVEL
environment variable.