From 125f0f8aa99b5d8771812aec95dcc4854ab2daf5 Mon Sep 17 00:00:00 2001 From: Roni Shaham Date: Sun, 18 Jul 2021 15:46:20 +0300 Subject: [PATCH] Append name (#51) * Trouble shooting options * Added types/node to package * Update npm version * Append name property --- lib/winston-logzio.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/winston-logzio.js b/lib/winston-logzio.js index 4707ef7..7f8134e 100644 --- a/lib/winston-logzio.js +++ b/lib/winston-logzio.js @@ -35,6 +35,7 @@ module.exports = class LogzioWinstonTransport extends Transport { info, msg, { level: info[LEVEL] || this.level, + name: this.name, }); this.logzioLogger.log(logObject); diff --git a/package.json b/package.json index 7c6c072..4e28294 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "winston-logzio", "description": "A winston transport wrapper for logzio", - "version": "5.1.2", + "version": "5.1.3", "author": "Gilly Barr ", "contributors": [ {