Merge branch 'staging' into immutable-config

This commit is contained in:
Cohee
2025-02-22 20:15:13 +02:00
35 changed files with 1267 additions and 989 deletions

View File

@@ -805,7 +805,7 @@ export function stringToBool(str) {
* Setup the minimum log level
*/
export function setupLogLevel() {
const logLevel = getConfigValue('minLogLevel', LOG_LEVELS.DEBUG, 'number');
const logLevel = getConfigValue('logging.minLogLevel', LOG_LEVELS.DEBUG, 'number');
globalThis.console.debug = logLevel <= LOG_LEVELS.DEBUG ? console.debug : () => {};
globalThis.console.info = logLevel <= LOG_LEVELS.INFO ? console.info : () => {};