MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / EnableDebugLogger

Function EnableDebugLogger

base/logging_config.go:203–209  ·  view source on GitHub ↗
(enabled bool)

Source from the content-addressed store, hash-verified

201}
202
203func EnableDebugLogger(enabled bool) {
204 logger := debugLogger.Load()
205 if logger == nil {
206 return
207 }
208 logger.Enabled.Set(enabled)
209}
210
211func EnableTraceLogger(enabled bool) {
212 logger := traceLogger.Load()

Callers 3

handlePutConfigMethod · 0.92
TestConfigEndpointFunction · 0.92

Calls 2

LoadMethod · 0.80
SetMethod · 0.45

Tested by 2

TestConfigEndpointFunction · 0.74