Sha256: 61c4696c39fbc300198c8bc46efbdff8d0bd8e39303239592d45c3b7947705a9

Contents?: true

Size: 353 Bytes

Versions: 4

Compression:

Stored size: 353 Bytes

Contents

require 'appdash/event/base'
require 'time'

module Appdash
  module Event

    # Log is an event whose timestamp is the current time and contains the given human-readable log message.
    class Log < Base

      # @param [String] msg the log message
      def initialize(msg)
        super("log", msg: msg, time: Time.now)
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
appdash-0.6.3 lib/appdash/event/log.rb
appdash-0.6.2 lib/appdash/event/log.rb
appdash-0.6.1 lib/appdash/event/log.rb
appdash-0.6.0 lib/appdash/event/log.rb