diff options
Diffstat (limited to 'src/util/logger.ts')
| -rw-r--r-- | src/util/logger.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/logger.ts b/src/util/logger.ts index 27eeefe..2fc0749 100644 --- a/src/util/logger.ts +++ b/src/util/logger.ts @@ -4,7 +4,7 @@ import * as Transport from "winston-transport"; const { combine, splat, timestamp, label, colorize, printf } = winston.format; const { Console } = winston.transports; -const LOG_LEVEL = process.env.LOG_LEVEL || "info"; +const LOG_LEVEL = process.env.LOG_LEVEL ?? "info"; const consoleFormat = combine( colorize(), |
