Package httplog contains a helper object and functions to maintain a log along with an http response.
DefaultStacktracePred is the default implementation of StacktracePred.
LogOf returns the logger hiding in w. If there is not an existing logger then a passthroughLogger will be created which will log to stdout immediately when Addf is called.
Unlogged returns the original ResponseWriter, or w if it is not our inserted logger.
WithLogging wraps the handler with logging.
StacktracePred returns true if a stacktrace should be logged for this status.
StatusIsNot returns a StacktracePred which will cause stacktraces to be logged for any status *not* in the given list.