class Fluent::TextFormatter::SingleValueFormatter
Public Instance Methods
format(tag, time, record)
click to toggle source
# File lib/fluent/formatter.rb, line 184 def format(tag, time, record) text = record[@message_key].to_s text << "\n" if @add_newline text end