class Fluent::TextFormatter::OutFileFormatter
Public Instance Methods
format(tag, time, record)
click to toggle source
# File lib/fluent/formatter.rb, line 78 def format(tag, time, record) filter_record(tag, time, record) header = '' header << "#{@timef.format(time)}#{@delimiter}" if @output_time header << "#{tag}#{@delimiter}" if @output_tag "#{header}#{Yajl.dump(record)}\n" end