Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EchoRequestID ¶
func EchoRequestID() echo.MiddlewareFunc
func EchoRequestLogger ¶
func WrapMiddleware ¶
func WrapMiddleware(m echo.MiddlewareFunc, opts ...LogOption) echo.MiddlewareFunc
Types ¶
type LogOption ¶
type LogOption func(*options)
LogOption is an option for a request logger.
func WithLogBody ¶
type RequestFilter ¶
RequestFilter returns false if the request should be filtered out and true otherwise
func ExcludeURLs ¶
func ExcludeURLs(urls ...string) RequestFilter
ExcludeURLs returns a RequestFilter that only logs requests for URLs in the urls parameter
Click to show internal directories.
Click to hide internal directories.