Added helper logger
This commit is contained in:
parent
db0e8c2047
commit
137da0e31e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user