MCPcopy Create free account
hub / github.com/ampproject/amphtml / debugLog

Function debugLog

third_party/subscriptions-project/swg.js:2935–2941  ·  view source on GitHub ↗
(var_args)

Source from the content-addressed store, hash-verified

2933/* eslint-disable */
2934
2935function debugLog(var_args) {
2936 if (/swg.debug=1/.test(self.location.hash)) {
2937 const logArgs = Array.prototype.slice.call(arguments, 0);
2938 logArgs.unshift('[Subscriptions]');
2939 log.apply(log, logArgs);
2940 }
2941}
2942
2943/**
2944 * @param {...*} var_args [description]

Callers 1

enablesMethod · 0.70

Calls 2

applyMethod · 0.80
testMethod · 0.45

Tested by

no test coverage detected