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

Function EnableErrorLogger

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

Source from the content-addressed store, hash-verified

177}
178
179func EnableErrorLogger(enabled bool) {
180 logger := errorLogger.Load()
181 if logger == nil {
182 return
183 }
184 logger.Enabled.Set(enabled)
185}
186
187func EnableWarnLogger(enabled bool) {
188 logger := warnLogger.Load()

Callers 3

handlePutConfigMethod · 0.92
TestConfigEndpointFunction · 0.92

Calls 2

LoadMethod · 0.80
SetMethod · 0.45

Tested by 2

TestConfigEndpointFunction · 0.74