# Functions
GetLogEntry returns the in-context LogEntry for a request.
Logger is a middleware that logs the start and end of each request, along with some useful data about what was requested, what the response status was, and how long it took to return.
Recoverer is a middleware that recovers from panics, logs the panic (and a backtrace), and returns a HTTP 500 (Internal Server Error) status if possible.
RequestLogger returns a logger handler using a custom LogFormatter.
WithLogEntry sets the in-context LogEntry for a request.
# Variables
DefaultLogger is called by the Logger middleware handler to log each request.
LogEntryCtxKey is the context.Context key to store the request log entry.
# Structs
DefaultLogFormatter is a simple logger that implements a LogFormatter.
# Interfaces
LogEntry records the final log when a request completes.
LogFormatter initiates the beginning of a new LogEntry per request.
LoggerInterface accepts printing to stdlib logger or compatible logger.