Class: Selenium::WebDriver::LogEntry
Relationships & Source Files | |
Inherits: | Object |
Defined in: | rb/lib/selenium/webdriver/common/log_entry.rb |
Class Method Summary
- .new(level, timestamp, message) ⇒ LogEntry constructor
Instance Attribute Summary
- #level readonly
- #message readonly
- #timestamp readonly
Instance Method Summary
Constructor Details
.new(level, timestamp, message) ⇒ LogEntry
Instance Attribute Details
#level (readonly)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/log_entry.rb', line 23
attr_reader :level, :, :
#message (readonly)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/log_entry.rb', line 23
attr_reader :level, :, :
#timestamp (readonly)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/log_entry.rb', line 23
attr_reader :level, :, :
Instance Method Details
#as_json
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/log_entry.rb', line 31
def as_json(*) { 'timestamp' => , 'level' => level, 'message' => } end
#time
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/log_entry.rb', line 43
def time Time.at / 1000 end