refactor(core): Support multiple log scopes (#11318)

This commit is contained in:
Iván Ovejero
2024-10-22 17:20:14 +02:00
committed by GitHub
parent c863abd083
commit 43f31b86aa
16 changed files with 55 additions and 37 deletions

View File

@@ -36,7 +36,7 @@ export class MultiMainSetup extends TypedEmitter<MultiMainEvents> {
private readonly globalConfig: GlobalConfig,
) {
super();
this.logger = this.logger.withScope('scaling');
this.logger = this.logger.scoped(['scaling', 'multi-main-setup']);
}
private leaderKey: string;