Added helper logger

This commit is contained in:
Leon Meier 2023-06-27 20:54:47 +02:00
parent db0e8c2047
commit 137da0e31e

View File

@ -20,14 +20,15 @@ const logger_settings = {
logLevel: 'info',
scope: 'Core',
stream: process.stdout,
displayFilename: true
displayFilename: false
};
const coreLogger = new Signale(logger_settings);
export const log = {
core: coreLogger,
db: coreLogger.scope('DB'),
web: coreLogger.scope('WEB')
web: coreLogger.scope('WEB'),
helper: coreLogger.scope('HELPER')
};
// Create a new config instance.