From c927954c125a1a79ab75e305fdb634cdf5dbbc4b Mon Sep 17 00:00:00 2001 From: Octavian Patrascoiu Date: Mon, 21 Nov 2022 13:11:29 +0000 Subject: [PATCH 1/2] [#24] Finalize implementation for LoggingEventListener --- src/jdmn/runtime/listener/LoggingEventListener.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jdmn/runtime/listener/LoggingEventListener.py b/src/jdmn/runtime/listener/LoggingEventListener.py index d2e3cd8..66f0e07 100644 --- a/src/jdmn/runtime/listener/LoggingEventListener.py +++ b/src/jdmn/runtime/listener/LoggingEventListener.py @@ -29,13 +29,13 @@ def endDRGElement(self, element: DRGElement, arguments: Arguments, output: Any, self.logger.info("End %s '%s' with output '%s' in %sms", element.elementKind.displayName, element.name, output, duration) def startRule(self, element: DRGElement, rule: Rule) -> None: - raise NotImplementedError() + self.logger.debug("Start rule %s for '%s'", rule.index, element.name) def matchRule(self, element: DRGElement, rule: Rule) -> None: - raise NotImplementedError() + self.logger.debug("Match rule %s for '%s'", rule.index, element.name) def endRule(self, element: DRGElement, rule: Rule, output: Any) -> None: - self.logger.debug("Rule %s fired with output '%s'", rule.index, output) + self.logger.debug("End rule %s for '%s' with output '%s'", rule.index, element.name, output) def matchColumn(self, rule: Rule, columnIndex: int, result: Any) -> None: self.logger.debug("Test %s checked with output '%s'", columnIndex, result) From 122bfe4afc918aef80ec82df08f9a7f1ac9a2b22 Mon Sep 17 00:00:00 2001 From: Octavian Patrascoiu Date: Mon, 21 Nov 2022 13:12:08 +0000 Subject: [PATCH 2/2] Release 1.0.3 --- src/jdmn/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jdmn/version.py b/src/jdmn/version.py index a2a7329..3f36637 100644 --- a/src/jdmn/version.py +++ b/src/jdmn/version.py @@ -10,5 +10,5 @@ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the # specific language governing permissions and limitations under the License. # -__version__ = "1.0.2" +__version__ = "1.0.3" __version_info__ = tuple(int(i) for i in __version__.split(".") if i.isdigit())