MCPcopy Create free account
hub / github.com/ContentSquare/chproxy / Debugf

Function Debugf

log/log.go:53–59  ·  view source on GitHub ↗

Debugf prints debug message according to a format

(format string, args ...interface{})

Source from the content-addressed store, hash-verified

51
52// Debugf prints debug message according to a format
53func Debugf(format string, args ...interface{}) {
54 if atomic.LoadUint32(&debug) == 0 {
55 return
56 }
57 s := fmt.Sprintf(format, args...)
58 debugLogger.Output(outputCallDepth, mask(s)) // nolint
59}
60
61// Infof prints info message according to a format
62func Infof(format string, args ...interface{}) {

Callers 15

ServeHTTPMethod · 0.92
executeWithRetryFunction · 0.92
proxyRequestMethod · 0.92
serveFromCacheMethod · 0.92
RespondWithDataFunction · 0.92
killQueryMethod · 0.92
decoratePostRequestMethod · 0.92
getReplicaStickyMethod · 0.92
getHostStickyMethod · 0.92
notifyReadyFunction · 0.92
newFilesSystemCacheFunction · 0.92
CloseMethod · 0.92

Calls 1

maskFunction · 0.85

Tested by

no test coverage detected