# Functions
Middleware returns the given http.Handler with the logger integrated.
NewRawResponseLogger wraps the given response writer with the methods to capture the status code, the bytes written, and methods to add new log entries.
NewRequest creates a Request object from an http.Request.
NewResponseLogger wraps the given response writer with methods to capture the status code, the number of bytes written, and methods to add new log entries.
WithRedactor is an option that adds a new redactor to a httplog.
# Constants
ErrorKey is the key used to store an error.
MessageKey is the key used to store the log message.
RequestKey is the key used to keep the request if enabled.
ResponseKey is the key used to keep the response if enabled.
# Structs
LoggerHandler creates a logger handler.
Request represents an HTTP request, it implements a zapcore.ObjectMarshaller on it.
Response represents an HTTP response, it implements a zapcore.ObjectMarshaller on it.
# Interfaces
RawResponseLogger defines an interface that a responseWrite can implement to support the capture of the status code, the number of bytes written and extra log entry fields.
ResponseLogger defines an interface that a responseWrite can implement to support the capture of the status code, the number of bytes written and extra log entry fields.
# Type aliases
Headers represents key-value pairs in the HTTP headers.
Option is the type used to modify logger options.
RedactorFunc is a function that redacts the HTTP request or response logged.