mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-08-22 11:03:37 +00:00
merge: Increase indent in logs (!1064)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1064 Approved-by: Marie <github@yuugi.dev> Approved-by: dakkar <dakkar@thenautilus.net>
This commit is contained in:
commit
826d6ef2b4
1 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||||
|
|
Loading…
Add table
Reference in a new issue