Sha256: fc8b6ec8b64ef91e47809374828c8a977aa72df78859b7dc537aa4bfe069e1da
Contents?: true
Size: 363 Bytes
Versions: 2
Compression:
Stored size: 363 Bytes
Contents
# frozen_string_literal: true Memolog::Config = Struct.new( :debug, :formatter, :middlewares, :log_size_limit, :uuid_callable, ) do def initialize self.debug = false self.formatter = ::Memolog::Formatter.new self.middlewares = %i[rails sidekiq] self.log_size_limit = 50_000 self.uuid_callable = -> { SecureRandom.uuid } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
memolog-0.3.5 | lib/memolog/config.rb |
memolog-0.3.4 | lib/memolog/config.rb |