increase logging indent, since some logger contexts are really long
This commit is contained in:
@@ -72,8 +72,8 @@ export default class Logger {
|
|||||||
null;
|
null;
|
||||||
|
|
||||||
let log = envOption.hideWorkerId
|
let log = envOption.hideWorkerId
|
||||||
? `${l}\t[${contexts.join(' ')}]\t${m}`
|
? `${l}\t[${contexts.join(' ')}]\t\t${m}`
|
||||||
: `${l} ${worker}\t[${contexts.join(' ')}]\t${m}`;
|
: `${l} ${worker}\t[${contexts.join(' ')}]\t\t${m}`;
|
||||||
if (envOption.withLogTime) log = chalk.gray(time) + ' ' + log;
|
if (envOption.withLogTime) log = chalk.gray(time) + ' ' + log;
|
||||||
|
|
||||||
const args: unknown[] = [important ? chalk.bold(log) : log];
|
const args: unknown[] = [important ? chalk.bold(log) : log];
|
||||||
|
|||||||
Reference in New Issue
Block a user