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

agonzalezro/logrus_honeybadger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages