Sha256: b8a1f78a3e7a79a0be003ca4a27200a8b2cdd938c0b1968e28c36e425cd25f01

Contents?: true

Size: 335 Bytes

Versions: 1

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
memolog-0.4.9 lib/memolog/config.rb