A Logrus hook to post new entries to an HTTP endpoint.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
logrus_http.go
logrus_http_test.go

README.md

logrus_http

A Logrus hook to post new entries to an HTTP endpoint.

Usage

hook, err := NewHttpHook("http://localhost:3000/log", "logContent", m, extras)
log.Hooks.Add(hook)