Class: Fluent::TextFormatter::TSVFormatter

Inherits:
Formatter
  • Object
show all
Includes:
Configurable, HandleTagAndTimeMixin
Defined in:
lib/fluent/plugin/formatter_tsv.rb

Instance Method Summary collapse

Instance Method Details

#configure(conf) ⇒ Object



9
10
11
# File 'lib/fluent/plugin/formatter_tsv.rb', line 9

def configure(conf)
  super
end

#format(tag, time, record) ⇒ Object



13
14
15
# File 'lib/fluent/plugin/formatter_tsv.rb', line 13

def format(tag, time, record)
  "#{record.values.join("\t")}\n"
end