class Fluent::TextFormatter::ProcWrappedFormatter
Public Class Methods
new(proc)
click to toggle source
# File lib/fluent/formatter.rb, line 192 def initialize(proc) @proc = proc end
Public Instance Methods
configure(conf)
click to toggle source
# File lib/fluent/formatter.rb, line 196 def configure(conf) end
format(tag, time, record)
click to toggle source
# File lib/fluent/formatter.rb, line 199 def format(tag, time, record) @proc.call(tag, time, record) end