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

Function ErrorLoggerIsEnabled

base/logging_config.go:242–244  ·  view source on GitHub ↗

=== Used by tests only ===

()

Source from the content-addressed store, hash-verified

240
241// === Used by tests only ===
242func ErrorLoggerIsEnabled() bool {
243 return errorLogger.Load().Enabled.IsTrue()
244}
245
246func WarnLoggerIsEnabled() bool {
247 return warnLogger.Load().Enabled.IsTrue()

Callers 1

TestConfigEndpointFunction · 0.92

Calls 2

IsTrueMethod · 0.80
LoadMethod · 0.80

Tested by 1

TestConfigEndpointFunction · 0.74