Class: JIJI::EventOut

Inherits:
BaseOut show all
Defined in:
lib/jiji/output.rb

Overview

イベントデータの出力先

Instance Attribute Summary

Attributes inherited from BaseOut

#options, #time

Instance Method Summary collapse

Methods inherited from BaseOut

#each, #initialize, #save, #set_properties

Constructor Details

This class inherits a constructor from JIJI::BaseOut

Instance Method Details

#aggregatorsObject



198
199
200
# File 'lib/jiji/output.rb', line 198

def aggregators
  [JIJI::Dao::RawAggregator.new]
end

#put(type, message) ⇒ Object

ログを書き込む



194
195
196
197
# File 'lib/jiji/output.rb', line 194

def put( type, message )
  @dao << JIJI::Dao::BasicTimedData.new(
    [type.to_s, message, @time.to_i.to_s], @time)
end