Class: Fluent::TextFormatter::HashFormatter

Inherits:
Formatter
  • Object
show all
Includes:
HandleTagAndTimeMixin, StructuredFormatMixin
Defined in:
lib/fluent/formatter.rb

Constant Summary

Constants included from Configurable

Configurable::CONFIG_TYPE_REGISTRY

Instance Method Summary collapse

Methods included from StructuredFormatMixin

#configure, #format, included

Methods included from HandleTagAndTimeMixin

#configure, #filter_record, included

Methods inherited from Formatter

#configure, #format

Methods included from Configurable

#config, #configure, included, #initialize, lookup_type, register_type

Instance Method Details

#format_record(record) ⇒ Object



160
161
162
# File 'lib/fluent/formatter.rb', line 160

def format_record(record)
  "#{record.to_s}\n"
end