MCPcopy
hub / github.com/ampproject/amphtml / debugLog

Function debugLog

third_party/subscriptions-project/config.js:346–352  ·  view source on GitHub ↗
(var_args)

Source from the content-addressed store, hash-verified

344/* eslint-disable */
345
346function debugLog(var_args) {
347 if (/swg.debug=1/.test(self.location.hash)) {
348 const logArgs = Array.prototype.slice.call(arguments, 0);
349 logArgs.unshift('[Subscriptions]');
350 log.apply(log, logArgs);
351 }
352}
353
354/**
355 * @param {...*} var_args [description]

Callers 1

checkMethod · 0.70

Calls 2

applyMethod · 0.80
testMethod · 0.45

Tested by

no test coverage detected