Documentation ¶
Overview ¶
Package httplogger implements a middleware that logs the incoming HTTP request & its duration using go-ethereum-log or logrus
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoggingMiddleware ¶
LoggingMiddleware logs the incoming HTTP request & its duration.
func LoggingMiddlewareLogrus ¶ added in v0.4.5
LoggingMiddlewareLogrus logs the incoming HTTP request & its duration.
func LoggingMiddlewareSlog ¶ added in v0.8.0
LoggingMiddlewareSlog logs the incoming HTTP request & its duration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.