package
0.0.0-20221205081027-fb1d94189521
Repository: https://github.com/ti-net2/apiserver.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
AddKeyValue adds a (key, value) pair to the httplog associated with the request.
DefaultStacktracePred is the default implementation of StacktracePred.
LogOf returns the logger hiding in w.
StatusIsNot returns a StacktracePred which will cause stacktraces to be logged for any status *not* in the given list.
Unlogged returns the original ResponseWriter, or w if it is not our inserted logger.
WithLogging wraps the handler with logging.

# Type aliases

ShouldLogRequestPred returns true if logging should be enabled for this request.
StacktracePred returns true if a stacktrace should be logged for this status.