Fluent::Output
# File lib/fluent/plugin/out_stdout.rb, line 37 def configure(conf) super @output_proc = OUTPUT_PROCS[@output_type] end
# File lib/fluent/plugin/out_stdout.rb, line 42 def emit(tag, es, chain) es.each {|time,record| $log.write "#{Time.at(time).localtime} #{tag}: #{@output_proc.call(record)}\n" } $log.flush chain.next end
[Validate]
Generated with the Darkfish Rdoc Generator 2.