Sha256: 05dab30dad03466aae99ec9bded4db865abd398532577a7c188ddc7719cb90b3

Contents?: true

Size: 615 Bytes

Versions: 1

Compression:

Stored size: 615 Bytes

Contents

# frozen_string_literal: true

require 'enumerize'
require 'active_support/core_ext/module/attribute_accessors'

module RailsLogParser
  THRESHOLD_HEURISTIC = 0.02
  MIN_ACTIONS_HEURISTIC = 100000 # sum of last 10 days

  mattr_accessor :ignore_lines, default: []

  def self.configure
    yield self
  end
end

require_relative 'rails_log_parser/parser'
require_relative 'rails_log_parser/action'
require_relative 'rails_log_parser/line'
require_relative 'rails_log_parser/heuristic_stat_file'
require_relative 'rails_log_parser/not_parseable_lines'

require 'rails_log_parser/railtie' if defined?(Rails::Railtie)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_log_parser-0.0.15 lib/rails_log_parser.rb