Skip to content

Commit

Permalink
Merge pull request #25 from opatrascoiu/main
Browse files Browse the repository at this point in the history
Finalize implementation of LoggingEventListener
  • Loading branch information
opatrascoiu authored Nov 21, 2022
2 parents f3734cb + 122bfe4 commit 3fd5431
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/jdmn/runtime/listener/LoggingEventListener.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion src/jdmn/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())

0 comments on commit 3fd5431

Please sign in to comment.