class AliyunSlsSdk::LogItem
Attributes
contents[RW]
timestamp[RW]
Public Class Methods
new(timestamp, contents)
click to toggle source
contents is a hash
# File lib/aliyun_sls_sdk/log_item.rb, line 8 def initialize(timestamp, contents) if not timestamp @timestamp = Time.now.to_i end @contents = contents end