Skip to content

Commit

Permalink
Merge pull request #332 from tsedio/fix-cli-context-logger
Browse files Browse the repository at this point in the history
fix(cli): fix logger context
  • Loading branch information
Romakita committed Jun 7, 2023
2 parents 790a4f0 + eef1b77 commit b2f7d19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/cli-core/src/services/CliService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ export class CliService {
const $ctx = new DIContext({
id: v4(),
injector: this.injector,
logger: this.injector.logger
logger: this.injector.logger,
level: this.injector.logger.level,
maxStackSize: 0
});

$ctx.set("data", data);
Expand Down

0 comments on commit b2f7d19

Please sign in to comment.