Sha256: 50b55df16242015ed9288cf34384049a1f57693a7bb0a38303bb6dd1837076ab

Contents?: true

Size: 418 Bytes

Versions: 5

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

Memolog::Config = Struct.new(
  :debug,
  :formatter,
  :initializers,
  :log_size_limit,
  :sentry_key,
  :uuid_callable,
) do
  def initialize
    self.debug = false
    self.formatter = ::Memolog::Formatter.new
    self.initializers = %i[rails sentry sidekiq]
    self.log_size_limit = 50_000
    self.sentry_key = :memolog
    self.uuid_callable = -> { SecureRandom.uuid }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
memolog-0.3.1 lib/memolog/config.rb
memolog-0.3.0 lib/memolog/config.rb
memolog-0.2.2 lib/memolog/config.rb
memolog-0.2.1 lib/memolog/config.rb
memolog-0.2.0 lib/memolog/config.rb