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

Method warn

src/utils/log.js:260–262  ·  view source on GitHub ↗

* Reports a warning message. * @param {string} tag * @param {...*} args

(tag, ...args)

Source from the content-addressed store, hash-verified

258 * @param {...*} args
259 */
260 warn(tag, ...args) {
261 this.msg_(tag, LogLevel_Enum.WARN, args);
262 }
263
264 /**
265 * Reports an error message.

Callers 15

helloAgainFunction · 0.80
integration.jsFile · 0.80
test-log.jsFile · 0.80
overflowCallbackMethod · 0.80
attachShadowDoc_Method · 0.80
mergeShadowHead_Method · 0.80
purgeShadowRoots_Method · 0.80
getOrCreateAdCidFunction · 0.80
parseIfNeededFunction · 0.80
maybeTrackImpressionFunction · 0.80
handleReplaceUrlFunction · 0.80

Calls 1

msg_Method · 0.95

Tested by

no test coverage detected