class Fluent::Plugin::NoneParser

Public Instance Methods

parse(text) { |time, record| ... } click to toggle source
# File lib/fluent/plugin/parser_none.rb, line 28
def parse(text)
  record = {}
  record[@message_key] = text
  time = @estimate_current_event ? Fluent::EventTime.now : nil
  yield time, record
end