Class webdriver.logging.Entry
Defined in: logging.js.
Constructor Attributes | Constructor Name and Description |
---|---|
webdriver.logging.Entry(level, message, opt_timestamp, opt_type)
A single log entry.
|
Field Attributes | Field Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
webdriver.logging.Entry.fromClosureLogRecord(logRecord, opt_type)
Converts a goog.debug.LogRecord into a
webdriver.logging.Entry.
|
toJSON()
|
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.