Documentation ¶
Overview ¶
Package log provides a http logging middleware that uses zap
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMiddleware ¶
NewMiddleware instantiates a middleware function that logs all requests using the provided logger
func NewTestLogger ¶
func NewTestLogger() (sugar *zap.SugaredLogger, out *observer.ObservedLogs)
NewTestLogger bootstraps a test logger that allows interrogation of output
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.