Fluent::Plugin::Formatter
# File lib/fluent/plugin/formatter_single_value.rb, line 27 def format(tag, time, record) text = record[@message_key].to_s.dup text << "\n" if @add_newline text end