Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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 ===
242
func
ErrorLoggerIsEnabled() bool {
243
return
errorLogger.Load().Enabled.IsTrue()
244
}
245
246
func
WarnLoggerIsEnabled() bool {
247
return
warnLogger.Load().Enabled.IsTrue()
Callers
1
TestConfigEndpoint
Function · 0.92
Calls
2
IsTrue
Method · 0.80
Load
Method · 0.80
Tested by
1
TestConfigEndpoint
Function · 0.74