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

Method write

src/mongo_logger.ts:333–333  ·  view source on GitHub ↗

* This function will be called for every enabled log message. * * It can be sync or async: * - If it is synchronous it will block the driver from proceeding until this method returns. * - If it is asynchronous the driver will not await the returned promise. It will attach fulfillment han

(log: Log)

Source from the content-addressed store, hash-verified

331 *
332 */
333 write(log: Log): PromiseLike<unknown> | unknown;
334}
335
336function compareSeverity(s0: SeverityLevel, s1: SeverityLevel): 1 | 0 | -1 {

Callers 15

request.jsFile · 0.65
logFunction · 0.65
insert.test.tsFile · 0.65
logFunction · 0.65
node_csot.test.tsFile · 0.65
connection.test.tsFile · 0.65
topology.test.tsFile · 0.65

Implementers 5

TestConfigurationtest/tools/runner/config.ts
AstrolabeResultsWritertest/tools/unified-spec-runner/astrola
UnifiedMongoClienttest/tools/unified-spec-runner/entitie
MockSockettest/unit/cmap/connection.test.ts
MockSockettest/unit/client-side-encryption/state

Calls

no outgoing calls

Tested by 1

write_testFunction · 0.52