Registry /
logging / gemnasium-logrus-graylog-hook-v3
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
graylog
✓ github.com/gemnasium/logrus-graylog-hook/v3
Send log messages to Graylog using Logrus
package main
import (
"github.com/gemnasium/logrus-graylog-hook/v3"
"github.com/sirupsen/logrus"
)
func main() {
hook := graylog.NewGraylogHook("udp://localhost:12201", map[string]interface{}{"facility": "test"})
logrus.AddHook(hook)
logrus.Info("Hello Graylog")
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
3.2.2latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.