MCPcopy Index your code
hub / github.com/ContentSquare/chproxy / SetDebug

Function SetDebug

log/log.go:44–50  ·  view source on GitHub ↗

SetDebug sets output into debug mode if true passed

(val bool)

Source from the content-addressed store, hash-verified

42
43// SetDebug sets output into debug mode if true passed
44func SetDebug(val bool) {
45 if val {
46 atomic.StoreUint32(&debug, 1)
47 } else {
48 atomic.StoreUint32(&debug, 0)
49 }
50}
51
52// Debugf prints debug message according to a format
53func Debugf(format string, args ...interface{}) {

Callers 1

applyConfigFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected