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

Function print

etc/sdam_viz.js:25–27  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

23 .alias('h', 'help').argv;
24
25function print(msg) {
26 console.log(`${chalk.white(new Date().toISOString())} ${msg}`);
27}
28
29const uri = argv._[0];
30const client = new MongoClient(uri);

Callers 4

runFunction · 0.70
scheduleWorkloadFunction · 0.70
scheduleWriteWorkloadFunction · 0.70

Calls 2

logMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected