Class: Appdash::Event::Log
Overview
Log is an event whose timestamp is the current time and contains the given human-readable log message.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(msg) ⇒ Log
constructor
A new instance of Log.
Methods inherited from Base
Constructor Details
#initialize(msg) ⇒ Log
Returns a new instance of Log.
11 12 13 |
# File 'lib/appdash/event/log.rb', line 11 def initialize(msg) super("log", msg: msg, time: Time.now) end |