MCPcopy
hub / github.com/mongodb/node-mongodb-native / attachSDAMFields

Function attachSDAMFields

src/mongo_logger.ts:655–658  ·  view source on GitHub ↗
(log: Record<string, any>, sdamEvent: SDAMLoggableEvent)

Source from the content-addressed store, hash-verified

653}
654
655function attachSDAMFields(log: Record<string, any>, sdamEvent: SDAMLoggableEvent) {
656 log.topologyId = sdamEvent.topologyId;
657 return log;
658}
659
660function attachServerHeartbeatFields(
661 log: Record<string, any>,

Callers 1

defaultLogTransformFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected