MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / isLoggable

Method isLoggable

javascript/selenium-webdriver/lib/logging.js:315–317  ·  view source on GitHub ↗

* @param {!Level} level the level to check. * @return {boolean} whether messages recorded at the given level are loggable * by this instance.

(level)

Source from the content-addressed store, hash-verified

313 * by this instance.
314 */
315 isLoggable(level) {
316 return level.value !== Level.OFF.value && level.value >= this.getEffectiveLevel().value
317 }
318
319 /**
320 * Adds a handler to this logger. The handler will be invoked for each message

Callers 11

logMethod · 0.95
deprecateMethod · 0.95
logging_test.jsFile · 0.80
testFunction · 0.80
logMethod · 0.80
decodeMethod · 0.80
injectMethod · 0.80
exportMethod · 0.80
createMethod · 0.80

Calls 1

getEffectiveLevelMethod · 0.95

Tested by 1

testFunction · 0.64