Sha256: 15e925d10f8c389df773e56013778a4aea07fbf96779b4dce638cb1d9a30b7b7

Contents?: true

Size: 347 Bytes

Versions: 5

Compression:

Stored size: 347 Bytes

Contents

# frozen_string_literal: true

Memolog::Config = Struct.new(
  :debug,
  :formatter,
  :isolation_level,
  :log_size_limit,
  :middlewares,
) do
  def initialize
    self.debug = false
    self.formatter = Logger::Formatter.new
    self.isolation_level = :thread
    self.log_size_limit = 50_000
    self.middlewares = %i[rails sidekiq]
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
memolog-0.5.6 lib/memolog/config.rb
memolog-0.5.5 lib/memolog/config.rb
memolog-0.5.4 lib/memolog/config.rb
memolog-0.5.3 lib/memolog/config.rb
memolog-0.5.2 lib/memolog/config.rb