Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger logger.Logger
Logger is a typedef for logger.Logger to allow it to implement the middleware.Logger interface -- allowing use in the middleware package.
func New ¶
func New(logger *logger.Logger) *Logger
New wraps a logger to return our httplog wrapper type.
func (*Logger) LogHTTPError ¶
Click to show internal directories.
Click to hide internal directories.