MCPcopy Index your code
hub / github.com/nodejs/node / log

Function log

lib/internal/console/constructor.js:412–417  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

410
411const consoleMethods = {
412 log(...args) {
413 if (onLog.hasSubscribers) {
414 onLog.publish(args);
415 }
416 this[kWriteToConsole](kUseStdout, this[kFormatForStdout](args));
417 },
418
419 info(...args) {
420 if (onInfo.hasSubscribers) {

Callers 1

printResultFunction · 0.50

Calls 1

publishMethod · 0.45

Tested by

no test coverage detected