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

Method constructor

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

* @param {string} name the level's name. * @param {number} level the level's numeric value.

(name, level)

Source from the content-addressed store, hash-verified

75 * @param {number} level the level's numeric value.
76 */
77 constructor(name, level) {
78 if (level < 0) {
79 throw new TypeError('Level must be >= 0')
80 }
81
82 /** @private {string} */
83 this.name_ = name
84
85 /** @private {number} */
86 this.value_ = level
87 }
88
89 /** This logger's name. */
90 get name() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected