-
Notifications
You must be signed in to change notification settings - Fork 78
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
Move into raven-go? #5
Comments
Not 100% sure how we'd want to do this, but ideally this I'd envision something like: raven.SetDSN("...")
log := logrus.New()
hook := raven_logrus.NewHook([]logrus.Level{
logrus.PanicLevel,
logrus.FatalLevel,
logrus.ErrorLevel,
})
log.Hooks.Add(hook) |
@mattrobenolt @gigaroby @awonak @miloconway @miloconway /cc @sirupsen FYI |
@evalphobia I'll recreate the diff. |
@evalphobia no problem :) |
@miloconway @gigaroby @mattrobenolt
|
@evalphobia @mattrobenolt |
Just curious if there was there any progress on this? I don't see any mention of logrus in the |
There has not. I'm still open to inclusion here. :) Just need someone to submit a PR. |
@mattrobenolt I opened a basic PR in the raven-go repo. It's referenced above. |
Awesome, I will get to look at that this week. A bit busy at the moment. :) Thanks! <3 |
I would be opposed to this btw. I am using this to send to sentry, but not using any other sentry-specific code in my app. I appreciate that this package is small and lightweight, and prefer it being separate. |
@captncraig how would this change affect that? Just curious. This package directly depends on |
You are right. I feel silly having said that now, since of course this already depends on raven-go. Sorry I chimed in. |
hey guys, any updates on this? |
and we enter into 2018 |
still WIP I suppose |
Hey @evalphobia thanks for doing this!
Would you be opposed to moving this into raven-go? We have some other framework support, like Gin, that we're likely going to be moving into raven-go as well.
That way you'd do something like:
Then we'd get documentation going over at https://docs.getsentry.com/hosted/clients/go/integrations/
Thoughts?
The text was updated successfully, but these errors were encountered: