namespace webdriver.logging

Functions

addConsoleHandler(opt_logger)code »

Adds the console handler to the given logger. The console handler will log all messages using the JavaScript Console API.

Parameters
opt_logger?goog.debug.Logger=

The logger to add the handler to; defaults to the root logger.


getLevel(nameOrValue)code »

Converts a level name or value to a webdriver.logging.Level value. If the name/value is not recognized, webdriver.logging.Level.ALL will be returned.

Parameters
nameOrValue(number|string)

The log level name, or value, to convert .

Returns
goog.debug.Logger.Level

The converted level.


getLogger(opt_name)code »

Finds a named logger.

Parameters
opt_namestring=

The dot-delimited logger name, such as "webdriver.logging.Logger". Defaults to the name of the root logger.

Returns
goog.debug.Logger

The named logger.


installConsoleHandler()code »

Installs the console log handler on the root logger.


removeConsoleHandler(opt_logger)code »

Removes the console log handler from the given logger.

Parameters
opt_logger?goog.debug.Logger=

The logger to remove the handler from; defaults to the root logger.

Types

Entry

A single log entry recorded by a WebDriver component, such as a remote WebDriver server.

Level

The Level class defines a set of standard logging levels that can be used to control logging output.

LogRecord

LogRecord objects are used to pass logging requests between the logging framework and individual log Handlers.

Logger

The Logger is an object used for logging debug messages.

Preferences

Describes the log preferences for a WebDriver session.

Type

No description.