Sha256: 5df53e9739daa6eb6f42ac666dbb7013ea4faf64ae6bfff95dbdee9c2c15daa8

Contents?: true

Size: 312 Bytes

Versions: 33

Compression:

Stored size: 312 Bytes

Contents

# encoding: utf-8

module LogStash module Inputs
  class LogCompletedFileHandler
    def initialize(log_completed_file_path)
      @log_completed_file_path = Pathname.new(log_completed_file_path)
    end

    def handle(path)
      @log_completed_file_path.open("a") { |fd| fd.puts(path) }
    end
  end
end end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
logstash-input-file-4.4.6 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.4.5 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.4.4 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.4.3 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.4.2 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.4.1 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.4.0 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.3.1 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.3.0 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.2.4 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.2.3 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.2.2 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.2.1 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.2.0 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.1.18 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.1.17 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.1.16 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.1.15 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.1.14 lib/logstash/inputs/log_completed_file_handler.rb
logstash-input-file-4.1.13 lib/logstash/inputs/log_completed_file_handler.rb