Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Latest commit

 

History

History
17 lines (12 loc) · 517 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 517 Bytes

logrus_honeybadger

This is a simple logrus hook for sending your exceptions to the HoneyBadger service.

How to use it?

Check the logrus documentation for seeing how to configure a hook, but basically, the needed part for this one is:

log.AddHook(honeybadger.NewHook("apikey", "live", 5*time.Second))

You can as well check the example code in the repo.