Sha256: 72358a710a62fcab12b9ccc20c22f60ed81c81324c8545ac4f93f9dc5ffb3c6f
Contents?: true
Size: 421 Bytes
Versions: 1
Compression:
Stored size: 421 Bytes
Contents
module Fluent module TextFormatter class TSVFormatter < Formatter Plugin.register_formatter('tsv', self) include Configurable # This enables the use of config_param include HandleTagAndTimeMixin # If you wish to use tag_key, time_key, etc. def configure(conf) super end def format(tag, time, record) "#{record.values.join("\t")}\n" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-formatter_tsv-0.0.1 | lib/fluent/plugin/formatter_tsv.rb |