node-nats-streaming-buffered-client
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -61,3 +61,2 @@ "use strict"; | ||
this.waitForInitialConnection = waitForInitialConnection; | ||
this.logger = logger; | ||
/** | ||
@@ -77,2 +76,10 @@ * Indicates if we're processing the buffer | ||
this.initialConnected = false; | ||
// Build our logger | ||
// | ||
this.logger = { | ||
debug: console.debug || console.log, | ||
log: console.log || console.debug, | ||
warn: console.warn, | ||
error: console.error, | ||
}; | ||
this.logger.log('[NATS-BUFFERED-CLIENT] Constructing...'); | ||
@@ -79,0 +86,0 @@ // Initialize our ring buffer with the requested size |
@@ -11,3 +11,2 @@ /// <reference types="node" /> | ||
private waitForInitialConnection; | ||
private logger; | ||
/** | ||
@@ -68,2 +67,9 @@ * The connection to the NATS server | ||
/** | ||
* Logging wrapper | ||
* | ||
* @private | ||
* @memberof NatsBufferedClient | ||
*/ | ||
private logger; | ||
/** | ||
* Creates an instance of NatsBufferedClient | ||
@@ -70,0 +76,0 @@ * |
{ | ||
"name": "node-nats-streaming-buffered-client", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
29610
451