This commit is contained in:
Tomer
2024-09-07 19:40:37 +03:00
parent 6765245260
commit 83ba5a2d24
2 changed files with 1 additions and 14 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ class Logger {
private log(level: settings.LogLevel, messageOrLambda: string | (() => string), namespace: string): void {
if (this.isEnabled(level, namespace)) {
const message:string = (typeof messageOrLambda === "string") ? messageOrLambda : messageOrLambda() ;
const message:string = (typeof messageOrLambda === "function") ? messageOrLambda() : messageOrLambda ;
this.logger.log(level, `${namespace}: ${message}`);
}
}
-13
View File
@@ -4672,19 +4672,6 @@
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
}
},
"node_modules/dir-glob": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
"integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
"dev": true,
"license": "MIT",
"dependencies": {
"path-type": "^4.0.0"
},
"engines": {
"node": ">=8"
}
},
"node_modules/doctrine": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",