class Fluent::Plugin::SingleValueFormatter

def format(tag, time, record)

def format(tag, time, record)
  text = record[@message_key].to_s.dup
  text << "\n" if @add_newline
  text
end