Class: Selenium::WebDriver::BiDi::BaseLogEntry
- Inherits:
-
Object
- Object
- Selenium::WebDriver::BiDi::BaseLogEntry
- Defined in:
- rb/lib/selenium/webdriver/bidi/log/base_log_entry.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#level ⇒ Object
Returns the value of attribute level.
-
#stack_trace ⇒ Object
Returns the value of attribute stack_trace.
-
#text ⇒ Object
Returns the value of attribute text.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
Instance Method Summary collapse
-
#initialize(level:, text:, timestamp:, stack_trace:) ⇒ BaseLogEntry
constructor
A new instance of BaseLogEntry.
Constructor Details
#initialize(level:, text:, timestamp:, stack_trace:) ⇒ BaseLogEntry
Returns a new instance of BaseLogEntry.
26 27 28 29 30 31 |
# File 'rb/lib/selenium/webdriver/bidi/log/base_log_entry.rb', line 26 def initialize(level:, text:, timestamp:, stack_trace:) @level = level @text = text @timestamp = @stack_trace = stack_trace end |
Instance Attribute Details
#level ⇒ Object
Returns the value of attribute level.
24 25 26 |
# File 'rb/lib/selenium/webdriver/bidi/log/base_log_entry.rb', line 24 def level @level end |
#stack_trace ⇒ Object
Returns the value of attribute stack_trace.
24 25 26 |
# File 'rb/lib/selenium/webdriver/bidi/log/base_log_entry.rb', line 24 def stack_trace @stack_trace end |
#text ⇒ Object
Returns the value of attribute text.
24 25 26 |
# File 'rb/lib/selenium/webdriver/bidi/log/base_log_entry.rb', line 24 def text @text end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
24 25 26 |
# File 'rb/lib/selenium/webdriver/bidi/log/base_log_entry.rb', line 24 def @timestamp end |