var trace … var traceLogger … func init() { … } // TraceLogger enables detailed logging of Http request matching and filter invocation. Default no logger is set. // You may call EnableTracing() directly to enable trace logging to the package-wide logger. func TraceLogger(logger log.StdLogger) { … } // SetLogger exposes the setter for the global logger on the top-level package func SetLogger(customLogger log.StdLogger) { … } // EnableTracing can be used to Trace logging on and off. func EnableTracing(enabled bool) { … }