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