Обновлены лог-сообщения в EnhancerService
This commit is contained in:
parent
90c4433afb
commit
acef59a8ad
1 changed files with 4 additions and 3 deletions
|
|
@ -16,8 +16,9 @@ export class EnhancerService {
|
||||||
|
|
||||||
private init(): void {
|
private init(): void {
|
||||||
if (!this.initilialized) {
|
if (!this.initilialized) {
|
||||||
this.logger.log(`Initialize EnhancerService`);
|
this.logger.log(`Initialize EnhancerService start`);
|
||||||
this.enhancers.forEach((e) => e.init(this.moduleRef));
|
this.enhancers.forEach((e) => e.init(this.moduleRef));
|
||||||
|
this.logger.log(`Initialize EnhancerService finished`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -28,11 +29,11 @@ export class EnhancerService {
|
||||||
for (let i = 0; i < this.enhancers.length; i++) {
|
for (let i = 0; i < this.enhancers.length; i++) {
|
||||||
const enhancer = this.enhancers[i];
|
const enhancer = this.enhancers[i];
|
||||||
// eslint-disable-next-line prettier/prettier
|
// eslint-disable-next-line prettier/prettier
|
||||||
this.logger.debug(`Start enhancer "${enhancer.name}" for issue.id = ${issue.id}...`);
|
this.logger.debug(`Enhancer "${enhancer.name}" for issue.id = ${issue.id} start`);
|
||||||
issue = await enhancer.enhance(issue);
|
issue = await enhancer.enhance(issue);
|
||||||
this.logger.debug(
|
this.logger.debug(
|
||||||
// eslint-disable-next-line prettier/prettier
|
// eslint-disable-next-line prettier/prettier
|
||||||
`Success finished enhancer "${enhancer.name}" for issue.id = ${issue.id}...`,
|
`Enhancer "${enhancer.name}" for issue.id = ${issue.id} finished`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return issue;
|
return issue;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue