class Fluent::Plugin::HashFormatter

Public Instance Methods

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