Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create decorators for logging task events. #9

Open
tshead opened this issue Nov 14, 2020 · 0 comments
Open

Create decorators for logging task events. #9

tshead opened this issue Nov 14, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@tshead
Copy link
Member

tshead commented Nov 14, 2020

Currently, if callers want to log what’s happening with a graph, they have two options:

  • Create an instance of graphcat.common.Logger, which logs everything.
  • Listen to graph events themselves.

It would be nice to have an in-between option, such as a decorator that can be used to log individual tasks. It would also be interesting to explore whether we should provide additional API to manage internal task logging.

@tshead tshead added enhancement New feature or request good first issue Good for newcomers labels Nov 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant