lib/fluent/plugin/out_mail.rb
# The old `key=value` format for old version compatibility
The old `key=value` format for old version compatibility
The old ` key = value ` format for old version compatibility
def create_key_value_message(tag, time, record)
    values = []
    values = @out_keys.map do |key|
      case key
      when @time_key
        format_time(time, @time_format)
      when @tag_key
        tag
      else
        "#{key}: #{record[key].to_s}"
      end
    end
    values.join("\n")
  end
def create_key_value_message ( tag , time , record ) values = [ ] values = @out_keys . map do | key | case key when @time_key format_time ( time , @time_format ) when @tag_key tag else "#{key}: #{record[key].to_s}" end end values . join ( "\n" ) end
The old `key=value` format for old version compatibility
The old ` key = value ` format for old version compatibility
tag
time
record