class Fluent::Plugin::HashFormatter

Public Instance Methods

format(tag, time, record) click to toggle source
# File lib/fluent/plugin/formatter_hash.rb, line 28
def format(tag, time, record)
  line = record.to_s
  line << @newline if @add_newline
  line
end