Compare commits
2 Commits
3b3052fd1c
...
2016bcede0
Author | SHA1 | Date | |
---|---|---|---|
2016bcede0 | |||
ad356dcd75 |
@ -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",
|
||||||
|
@ -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 };
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user