Sha256: 02bdb5b8259bf54ef5ca37f1fc45b9a4c5de3640164f49f55a19ffa7c5eb1ad8

Contents?: true

Size: 292 Bytes

Versions: 2

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
memolog-0.5.1 lib/memolog/config.rb
memolog-0.5.0 lib/memolog/config.rb