class Entry

A single log entry.

new Entry(level, message, opt_timestamp, opt_type)

Parameters
level({name: string, value: number}|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

level{name: string, value: number}
No description.
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
logRecordgoog.debug.LogRecord

The record to convert.

opt_typestring=

The log type.

Returns
webdriver.logging.Entry

The converted entry.