Sha256: bb176506f5c275ffa5d9250afe7c6a88e313d722877c276d4258576de77b7c1a

Contents?: true

Size: 337 Bytes

Versions: 8

Compression:

Stored size: 337 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

8 entries across 8 versions & 1 rubygems

Version Path
memolog-0.4.8 lib/memolog/config.rb
memolog-0.4.7 lib/memolog/config.rb
memolog-0.4.6 lib/memolog/config.rb
memolog-0.4.5 lib/memolog/config.rb
memolog-0.4.4 lib/memolog/config.rb
memolog-0.4.2 lib/memolog/config.rb
memolog-0.4.1 lib/memolog/config.rb
memolog-0.4.0 lib/memolog/config.rb