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

Method defaultLevelWithFunc_

src/utils/log.js:199–202  ·  view source on GitHub ↗

* @param {!Window=} opt_win provided for testing * @return {!LogLevel_Enum} * @private

(opt_win)

Source from the content-addressed store, hash-verified

197 * @private
198 */
199 defaultLevelWithFunc_(opt_win) {
200 // Delegate to the specific resolver.
201 return this.levelFunc_(logHashParam(opt_win), getMode().development);
202 }
203
204 /**
205 * @param {string} tag

Callers 2

defaultLevel_Method · 0.95
test-log.jsFile · 0.80

Calls 2

getModeFunction · 0.90
logHashParamFunction · 0.85

Tested by

no test coverage detected