increase logging indent, since some logger contexts are really long

This commit is contained in:
Hazelnoot 2025-05-30 09:39:37 -04:00
parent 5d8a8bba2a
commit eeb175ab2b

View file

@ -72,8 +72,8 @@ export default class Logger {
null;
let log = envOption.hideWorkerId
? `${l}\t[${contexts.join(' ')}]\t${m}`
: `${l} ${worker}\t[${contexts.join(' ')}]\t${m}`;
? `${l}\t[${contexts.join(' ')}]\t\t${m}`
: `${l} ${worker}\t[${contexts.join(' ')}]\t\t${m}`;
if (envOption.withLogTime) log = chalk.gray(time) + ' ' + log;
const args: unknown[] = [important ? chalk.bold(log) : log];