MCPcopy Index your code
hub / github.com/PrairieLearn/PrairieLearn / log

Function log

public/javascripts/socket.io.js:411–417  ·  view source on GitHub ↗

* Invokes `console.log()` when available. * No-op when `console.log` is not a "function". * * @api public

()

Source from the content-addressed store, hash-verified

409 */
410
411 function log() {
412 // this hackery is required for IE8/9, where
413 // the `console.log` function doesn't have 'apply'
414 return 'object' === typeof console
415 && console.log
416 && Function.prototype.apply.call(console.log, console, arguments);
417 }
418
419 /**
420 * Save `namespaces`.

Callers

nothing calls this directly

Calls 1

callMethod · 0.80

Tested by

no test coverage detected