@logdna/logger
Advanced tools
Comparing version 2.6.3 to 2.6.4
## Changelog | ||
## [2.6.4](https://github.com/logdna/logger-node/compare/v2.6.3...v2.6.4) (2022-04-21) | ||
### Code Refactoring | ||
* extract _serializeBuffer method [d23b0c1](https://github.com/logdna/logger-node/commit/d23b0c1c4236ffa173e552ee6fdbb2e7b750e03f) - Eric Melski | ||
## [2.6.3](https://github.com/logdna/logger-node/compare/v2.6.2...v2.6.3) (2022-04-21) | ||
@@ -4,0 +11,0 @@ |
@@ -688,2 +688,6 @@ 'use strict' | ||
_serializeBuffer(buffer) { | ||
return stringify({e: 'ls', ls: buffer}) | ||
} | ||
send(calledByFlush = true) { | ||
@@ -730,3 +734,3 @@ if (this[kIsSending] && calledByFlush) return | ||
const data = stringify({e: 'ls', ls: buffer}) | ||
const data = this._serializeBuffer(buffer) | ||
@@ -733,0 +737,0 @@ this._getSendPayload(data, (error, payload) => { |
{ | ||
"name": "@logdna/logger", | ||
"version": "2.6.3", | ||
"version": "2.6.4", | ||
"description": "LogDNA's Node.js Logging Module.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
82282
1022