lib/dexter/log_parser.rb in pgdexter-0.4.3 vs lib/dexter/log_parser.rb in pgdexter-0.5.0
- old
+ new
@@ -1,13 +1,9 @@
module Dexter
class LogParser
include Logging
REGEX = /duration: (\d+\.\d+) ms (statement|execute [^:]+): (.+)/
- LINE_SEPERATOR = ": ".freeze
- DETAIL_LINE = "DETAIL: ".freeze
-
- attr_accessor :once
def initialize(logfile, collector)
@logfile = logfile
@collector = collector
end