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

Method willLog

src/mongo_logger.ts:968–971  ·  view source on GitHub ↗
(component: MongoLoggableComponent, severity: SeverityLevel)

Source from the content-addressed store, hash-verified

966 }
967
968 willLog(component: MongoLoggableComponent, severity: SeverityLevel): boolean {
969 if (severity === SeverityLevel.OFF) return false;
970 return this.severities[component][severity];
971 }
972
973 private log(
974 severity: SeverityLevel,

Callers 6

logMethod · 0.95
selectServerMethod · 0.80
drainWaitQueueFunction · 0.80
processWaitQueueFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected