Methods

Class/Module Index [+]

Quicksearch

Fluent::TextParser::NoneParser

Public Instance Methods

parse(text) click to toggle source
# File lib/fluent/parser.rb, line 397
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

[Validate]

Generated with the Darkfish Rdoc Generator 2.