@logdna/logger
Advanced tools
Comparing version
## Changelog | ||
## [2.6.3](https://github.com/logdna/logger-node/compare/v2.6.2...v2.6.3) (2022-04-21) | ||
### Code Refactoring | ||
* extract _getPayloadSize method [68a7e54](https://github.com/logdna/logger-node/commit/68a7e54e168a20c14d31a9f416842151e63a25f7) - Eric Melski | ||
## [2.6.2](https://github.com/logdna/logger-node/compare/v2.6.1...v2.6.2) (2022-04-14) | ||
@@ -4,0 +11,0 @@ |
@@ -472,4 +472,8 @@ 'use strict' | ||
_getPayloadSize(payload) { | ||
return payload.line.length | ||
} | ||
bufferLog(payload) { | ||
const lineLength = payload.line.length | ||
const lineLength = this._getPayloadSize(payload) | ||
@@ -476,0 +480,0 @@ this[kLineLengthTotal] += lineLength |
{ | ||
"name": "@logdna/logger", | ||
"version": "2.6.2", | ||
"version": "2.6.3", | ||
"description": "LogDNA's Node.js Logging Module.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
81950
0.41%1019
0.3%