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

Method addDatabaseLogContext

rest/handler.go:230–234  ·  view source on GitHub ↗
(dbName string, logConfig *base.DbLogConfig)

Source from the content-addressed store, hash-verified

228}
229
230func (h *handler) addDatabaseLogContext(dbName string, logConfig *base.DbLogConfig) {
231 if dbName != "" {
232 h.rqCtx = base.DatabaseLogCtx(h.ctx(), dbName, logConfig)
233 }
234}
235
236func (h *handler) addCollectionLogContext(scopeName, collectionName string) {
237 if scopeName != "" && collectionName != "" {

Callers 1

Calls 2

ctxMethod · 0.95
DatabaseLogCtxFunction · 0.92

Tested by

no test coverage detected