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

Method log

test/parallel/test-console-instance.js:109–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 hello() {}
108 // See if the methods on Console.prototype are overridable.
109 log() { return 'overridden'; }
110 }
111 const myConsole = new MyConsole(process.stdout);
112 assert.strictEqual(typeof myConsole.hello, 'function');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected