mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 20:44:34 +00:00
increase logging indent, since some logger contexts are really long
This commit is contained in:
parent
5d8a8bba2a
commit
eeb175ab2b
1 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue