Sha256: 708618d6104d01f35b8bad88e933d419eec8f551a52e019adb1f8d300f430d32

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

module Dexter
  class CsvLogTableParser < CsvLogParser
    def perform
      last_log_time = Time.at(0).iso8601(3)

      loop do
        @logfile.csvlog_activity(last_log_time).each do |row|
          process_csv_row(row["message"], row["detail"])
          last_log_time = row["log_time"]
        end

        break

        # possibly enable later
        # break if once
        # sleep(1)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pgdexter-0.4.3 lib/dexter/csv_log_table_parser.rb