class Entry

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

new Entry(level, message, opt_timestamp, opt_type)

Parameters
level(webdriver.logging.Level|string)

The entry level.

messagestring

The log message.

opt_timestampnumber=

The time this entry was generated, in milliseconds since 0:00:00, January 1, 1970 UTC. If omitted, the current time will be used.

opt_typestring=

The log type, if known.

Instance Methods

toJSON(arg0)code »

Parameters
arg0string=
Returns
{level: string, message: string, timestamp: number, type: string}

The JSON representation of this entry.

Instance Properties

messagestring
No description.
timestampnumber
No description.
typestring
No description.

Static Functions

Entry.fromClosureLogRecord(logRecord, opt_type)code »

Converts a goog.debug.LogRecord into a webdriver.logging.Entry.

Parameters
logRecordwebdriver.logging.LogRecord

The record to convert.

opt_typestring=

The log type.

Returns
webdriver.logging.Entry

The converted entry.