Documentation
¶
Overview ¶
Package httplog provides a log for logrus, which enables log lines to be sent using http requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLogHandler ¶
func CreateLogHandler(logger *log.Logger) http.HandlerFunc
CreateLogHandler creates a new log handler. It takes a logger as parameter, and returns a HandlerFunc which can be used with the go http framework.
Types ¶
Click to show internal directories.
Click to hide internal directories.