Method: LogStash::Inputs::FileListener#accept

Defined in:
lib/logstash/inputs/file_listener.rb

#accept(data) ⇒ Object



36
37
38
39
40
# File 'lib/logstash/inputs/file_listener.rb', line 36

def accept(data)
  # and push transient data filled dup listener downstream
  input.log_line_received(path, data)
  input.codec.accept(self.class.new(path, input, data))
end