From 69e5c1520a441781d50ea1ba2f108acc854153fe Mon Sep 17 00:00:00 2001 From: faulty Date: Sun, 8 May 2022 00:23:38 +0200 Subject: [PATCH] package update and small tweak to type annotation --- lib/logging.js | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/logging.js b/lib/logging.js index f35cdca..4ddfcd0 100644 --- a/lib/logging.js +++ b/lib/logging.js @@ -11,7 +11,8 @@ class Logger { * historySize: number, * onHistoryFull: () => void, * argsPlaceholder: string, - * dict: {[key: string]: string} + * defaultLevel: string, + * dict: Map, * logFrom: 'debug' | 'info' | 'warn' | 'error' | 'fatal' * logFrom2: 'debug' | 'info' | 'warn' | 'error' | 'fatal' * }} options diff --git a/package.json b/package.json index 3eb5491..689d1cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "logger4njs", - "version": "1.0.3", + "version": "1.0.4", "description": "Logger for Node JS", "main": "index.js", "directories": {