Class: Fluent::Compat::ExecUtil::JSONFormatter

Inherits:
Formatter
  • Object
show all
Defined in:
lib/fluent/compat/exec_util.rb

Instance Method Summary collapse

Instance Method Details

#call(record, out) ⇒ Object



117
118
119
# File 'lib/fluent/compat/exec_util.rb', line 117

def call(record, out)
  out << Yajl.dump(record) << "\n"
end