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

Function logHashParam

src/utils/log.js:100–101  ·  view source on GitHub ↗
(opt_win)

Source from the content-addressed store, hash-verified

98 * @return {number}
99 */
100export const logHashParam = (opt_win) =>
101 parseInt(getHashParams(opt_win)['log'], 10);
102
103/**
104 * Logging class. Use of sentinel string instead of a boolean to check user/dev

Callers 3

promiseErrorHandler_Method · 0.90
defaultLevel_Method · 0.85
defaultLevelWithFunc_Method · 0.85

Calls 1

getHashParamsFunction · 0.90

Tested by

no test coverage detected