class Fluent::TextParser::NoneParser
Public Instance Methods
parse(text) { |time, record| ... }
click to toggle source
# File lib/fluent/parser.rb, line 398 def parse(text) record = {} record[@message_key] = text time = @estimate_current_event ? Engine.now : nil if block_given? yield time, record else return time, record end end