Skip to content

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

License

Notifications You must be signed in to change notification settings

csu/logrus_http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages