amqp-as-promised
Advanced tools
Comparing version 5.3.2 to 5.4.0
@@ -19,2 +19,3 @@ declare function amqp(conf: amqp.AmqpConfig): Promise<amqp.AmqpClient> | ||
} | ||
logLevel: 'error' | 'warn' | 'info' | 'debug' | 'trace' | ||
} | ||
@@ -21,0 +22,0 @@ |
Changelog | ||
========= | ||
# 5.4.0 - 2021-06-11 | ||
* Now logging using a separate logger (`amqp`), to support selective | ||
logging. The log level can be set using the `logLevel` connection | ||
parameter, or by calling `log.getLogger('amqp').setLevet('debug')` | ||
# 5.3.2 - 2021-06-10 | ||
@@ -5,0 +11,0 @@ |
@@ -8,3 +8,3 @@ // Generated by CoffeeScript 1.12.5 | ||
log = require('loglevel'); | ||
log = require('loglevel').getLogger('amqp'); | ||
@@ -11,0 +11,0 @@ amqp = require('amqplib'); |
@@ -5,3 +5,3 @@ // Generated by CoffeeScript 1.12.5 | ||
log = require('loglevel'); | ||
log = require('loglevel').getLogger('amqp'); | ||
@@ -8,0 +8,0 @@ promise = void 0; |
@@ -5,3 +5,3 @@ // Generated by CoffeeScript 1.12.5 | ||
log = require('loglevel'); | ||
log = require('loglevel').getLogger('amqp'); | ||
@@ -8,0 +8,0 @@ AmqpClient = require('./amqp-client'); |
@@ -6,3 +6,3 @@ // Generated by CoffeeScript 1.12.5 | ||
log = require('loglevel'); | ||
log = require('loglevel').getLogger('amqp'); | ||
@@ -9,0 +9,0 @@ module.exports = QueueWrapper = (function() { |
@@ -6,3 +6,3 @@ // Generated by CoffeeScript 1.12.5 | ||
log = require('loglevel'); | ||
log = require('loglevel').getLogger('amqp'); | ||
@@ -9,0 +9,0 @@ merge = require('./merge'); |
{ | ||
"name": "amqp-as-promised", | ||
"description": "A promise-based AMQP API build on node-amqp", | ||
"version": "5.3.2", | ||
"version": "5.4.0", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
53111
1028