Class: CWlogsIO::LogEvent
- Inherits:
-
Object
- Object
- CWlogsIO::LogEvent
- Defined in:
- lib/cwlogs_io/log_event.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#timestamp ⇒ Object
readonly
Returns the value of attribute timestamp.
Instance Method Summary collapse
-
#initialize(message, timestamp) ⇒ LogEvent
constructor
A new instance of LogEvent.
Constructor Details
#initialize(message, timestamp) ⇒ LogEvent
Returns a new instance of LogEvent.
7 8 9 10 |
# File 'lib/cwlogs_io/log_event.rb', line 7 def initialize(, ) @message = @timestamp = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
5 6 7 |
# File 'lib/cwlogs_io/log_event.rb', line 5 def @message end |
#timestamp ⇒ Object (readonly)
Returns the value of attribute timestamp.
5 6 7 |
# File 'lib/cwlogs_io/log_event.rb', line 5 def @timestamp end |