memgraph icon indicating copy to clipboard operation
memgraph copied to clipboard

[master < T243-MAGE] Add logging API

Open antoniofilipovic opened this issue 3 years ago • 5 comments

[master < Task] PR

  • [x] Add tests
  • [x] Check, and update documentation if necessary
  • [x] Update changelog

Once PR is ready, I will update the changelog and docs.

antoniofilipovic avatar Jun 23 '22 10:06 antoniofilipovic

Please also considering adding tests, at least calling all of the functions to make sure it works.

I will add tests, immediately after we reach the decision on whether the PyLogger object is necessary.

antoniofilipovic avatar Jul 14 '22 08:07 antoniofilipovic

It looks good to me to be merged, however I don't want to approve until at least the PR is created on the docs repo, but nothing more is left in my opinion.

antaljanosbenjamin avatar Aug 09 '22 13:08 antaljanosbenjamin

For the formatter don't worry, sooner or later they would have been formatted, so you don't need to revert them.

antaljanosbenjamin avatar Aug 09 '22 13:08 antaljanosbenjamin

It looks good to me to be merged, however I don't want to approve until at least the PR is created on the docs repo, but nothing more is left in my opinion.

@antaljanosbenjamin I've created a PR for docs, you can check it out here.

antoniofilipovic avatar Aug 10 '22 11:08 antoniofilipovic

@antoniofilipovic It would be great if added comments to code matches to mgp.py previous style (there are some parts that I need to update), but you can use this function/class as reference: https://github.com/memgraph/memgraph/blob/T243-MAGE-add-logging-api/include/mgp.py#L756

antejavor avatar Aug 10 '22 12:08 antejavor