class Fluent::TextFormatter::SingleValueFormatter

Public Instance Methods

format(tag, time, record) click to toggle source
# File lib/fluent/formatter.rb, line 248
def format(tag, time, record)
  text = record[@message_key].to_s.dup
  text << "\n" if @add_newline
  text
end