From e369b3aaeddc0d8b8bc87c551dbc8e0f3973632d Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Mon, 11 Mar 2024 13:34:55 +0100 Subject: [PATCH] feat-fix: set default log level for the logger as warn --- src/util/log.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util/log.ts b/src/util/log.ts index cd73910001..b9087ff2c7 100644 --- a/src/util/log.ts +++ b/src/util/log.ts @@ -54,6 +54,9 @@ export const enum LogLevel { function getActiveLog(): FlowrLogger { return new FlowrLogger({ + // set the default minimum level as Warn, and let all apps + // (like the REPL) update it to whatever they want it to be + minLevel: LogLevel.Warn, type: 'pretty', name: 'main', stylePrettyLogs: true,