Method: Fluent::Compat::ExecUtil::TSVFormatter#call
- Defined in:
- lib/fluent/compat/exec_util.rb
#call(record, out) ⇒ Object
105 106 107 108 109 110 111 112 113 |
# File 'lib/fluent/compat/exec_util.rb', line 105 def call(record, out) last = @in_keys.length-1 for i in 0..last key = @in_keys[i] out << record[key].to_s out << "\t" if i != last end out << "\n" end |