MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / addHandler

Method addHandler

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

* Adds a handler to this logger. The handler will be invoked for each message * logged with this instance, or any of its descendants. * * @param {function(!Entry)} handler the handler to add.

(handler)

Source from the content-addressed store, hash-verified

320 * @param {function(!Entry)} handler the handler to add.
321 */
322 addHandler(handler) {
323 if (!this.handlers_) {
324 this.handlers_ = new Set()
325 }
326 this.handlers_.add(handler)
327 }
328
329 /**
330 * Removes a handler from this logger.

Callers 9

logging.jsFile · 0.45
addConsoleHandlerFunction · 0.45
logging_test.jsFile · 0.45
logging.jsFile · 0.45
__init__.pyFile · 0.45
divconsole.jsFile · 0.45

Calls 1

addMethod · 0.65