MCPcopy
hub / github.com/apache/pouchdb / guardedConsole

Function guardedConsole

lib/index.es.js:416–422  ·  view source on GitHub ↗
(method)

Source from the content-addressed store, hash-verified

414}
415
416function guardedConsole(method) {
417 /* istanbul ignore else */
418 if (typeof console !== 'undefined' && typeof console[method] === 'function') {
419 var args = Array.prototype.slice.call(arguments, 1);
420 console[method].apply(console, args);
421 }
422}
423
424function randomNumber(min, max) {
425 var maxTimeout = 600000; // Hard-coded default of 10 minutes

Callers 6

isRemoteFunction · 0.70
tryCatchInChangeListenerFunction · 0.70
doChangesMethod · 0.70
_setupMethod · 0.70
parseAdapterFunction · 0.70
emitErrorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…