Class Index | File Index

Classes


Class webdriver.logging.Entry


Defined in: logging.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
webdriver.logging.Entry(level, message, opt_timestamp, opt_type)
A single log entry.
Field Summary
Field Attributes Field Name and Description
 
 
 
 
Method Summary
Method Attributes Method Name and Description
<static>  
webdriver.logging.Entry.fromClosureLogRecord(logRecord, opt_type)
Converts a goog.debug.LogRecord into a webdriver.logging.Entry.
 
Class Detail
webdriver.logging.Entry(level, message, opt_timestamp, opt_type)
A single log entry.
Parameters:
{(!webdriver.logging.Level|string)} level
The entry level.
{string} message
The log message.
{number=} opt_timestamp
The time this entry was generated, in milliseconds since 0:00:00, January 1, 1970 UTC. If omitted, the current time will be used.
{string=} opt_type
The log type, if known.
Field Detail
level

message

timestamp

type
Method Detail
<static> {!webdriver.logging.Entry} webdriver.logging.Entry.fromClosureLogRecord(logRecord, opt_type)
Converts a goog.debug.LogRecord into a webdriver.logging.Entry.
Parameters:
{!goog.debug.LogRecord} logRecord
The record to convert.
{string=} opt_type
The log type.
Returns:
{!webdriver.logging.Entry} The converted entry.

{{level: string|message: string|timestamp: number|type: string}} toJSON()
Returns:
{{level: string|message: string|timestamp: number|type: string}} The JSON representation of this entry.

Documentation generated by JsDoc Toolkit 2.4.0 on Sat Jan 25 2014 14:42:02 GMT-0500 (EST)