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

Improve logging #4

Open
xaprb opened this issue Sep 17, 2013 · 0 comments
Open

Improve logging #4

xaprb opened this issue Sep 17, 2013 · 0 comments

Comments

@xaprb
Copy link
Contributor

xaprb commented Sep 17, 2013

Robustly doesn't give much insight into what happens inside it. We should probably accept a logger, or use Go's log package. As an alternative, we could instead define a package variable that's a channel, on which messages can be sent in case someone wants to listen to them.

The types of events to capture:

  • Starting to run a function
  • Function exits nicely
  • Function panics, and the stack trace, rate and duration
  • Function is restarted
  • Function panics too often, and we re-panic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant