Compare commits

..

2 Commits

Author SHA1 Message Date
2016bcede0
v1.2.6 2023-03-26 21:01:24 +03:00
ad356dcd75
bugfix 2023-03-26 21:01:13 +03:00
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@navy.gif/logger", "name": "@navy.gif/logger",
"version": "1.2.5", "version": "1.2.6",
"description": "Logging thing", "description": "Logging thing",
"main": "index.js", "main": "index.js",
"author": "Navy.gif", "author": "Navy.gif",

View File

@ -27,7 +27,7 @@ class LoggerClient {
} }
this.#_guard = opts.guard || Defaults.ClientOptions.guard; this.#_guard = opts.guard || Defaults.ClientOptions.guard;
this.#_logLevel = opts.logLevel || Defaults.ClientOptions.logLevel; this.#_logLevel = opts.logLevel ?? Defaults.ClientOptions.logLevel;
this.#_logLevelMapping = { ...Defaults.ClientOptions.logLevelMapping, ...opts.logLevelMapping }; this.#_logLevelMapping = { ...Defaults.ClientOptions.logLevelMapping, ...opts.logLevelMapping };
} }