class Fluent::Plugin::PrettyJsonFormatter
Public Instance Methods
configure(conf)
click to toggle source
Calls superclass method
# File lib/fluent/plugin/formatter_pretty_json.rb, line 9 def configure(conf) super end
format(tag, time, record)
click to toggle source
# File lib/fluent/plugin/formatter_pretty_json.rb, line 13 def format(tag, time, record) "#{JSON.pretty_generate record}\n" end