Skip to content

Commit

Permalink
fix(visitor): log added schemas correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Nov 3, 2019
1 parent 05f3f2f commit 29e9462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/visitor/VisitorContext.ts
Expand Up @@ -64,10 +64,10 @@ export class VisitorContext implements VisitorContextOptions, VisitorResult {
}

public addSchema(name: string, schema: any): void {
this.logger.debug('adding ajv schema', {
this.logger.debug({
name,
schema,
});
}, 'adding ajv schema');

this.ajv.addSchema({
$id: name,
Expand Down

0 comments on commit 29e9462

Please sign in to comment.