IBM / openapi-validator

Configurable and extensible validator/linter for OpenAPI documents
Apache License 2.0
483 stars 88 forks source link

fix: use single logger instance #623

Closed padamstx closed 1 year ago

padamstx commented 1 year ago

PR summary

This PR makes sure that the validator and all rules use a single global instance of the LoggerFactory.

PR Checklist

General checklist

Please make sure that your PR fulfills the following requirements:

Checklist for adding a new validation rule:

padamstx commented 1 year ago

Looks good!

I noticed the line static _factory = null; is still present in the logger factory file

good catch... with all the excitement related to this PR I completely whiffed at removing that line :joy:

ibm-devx-sdk commented 1 year ago

:tada: This PR is included in version 1.2.1 :tada:

The release is available on npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:

ibm-devx-sdk commented 1 year ago

:tada: This PR is included in version 1.6.1 :tada:

The release is available on npm package (@latest dist-tag)

Your semantic-release bot :package::rocket: