Skip to content

Commit 152d21f

Browse files
committed
Add missing underscore to level environment variable
1 parent b232cc3 commit 152d21f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"prepare": "tsc",
66
"test": "jest"
77
},
8-
"version": "1.1.8",
8+
"version": "1.1.9",
99
"main": "out/index.js",
1010
"types": "out/index.d.ts",
1111
"author": "Coder",

src/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export class Logger {
243243
this.nameColor = this.hashStringToColor(name);
244244
}
245245
if (typeof process !== "undefined" && typeof process.env !== "undefined") {
246-
switch (process.env.LOGLEVEL) {
246+
switch (process.env.LOG_LEVEL) {
247247
case "trace": this.level = Level.Trace; break;
248248
case "debug": this.level = Level.Debug; break;
249249
case "info": this.level = Level.Info; break;

0 commit comments

Comments
 (0)