lib/memolog/config.rb in memolog-0.3.3 vs lib/memolog/config.rb in memolog-0.3.4
- old
+ new
@@ -1,17 +1,17 @@
# frozen_string_literal: true
Memolog::Config = Struct.new(
:debug,
:formatter,
- :initializers,
+ :middlewares,
:log_size_limit,
:uuid_callable,
) do
def initialize
self.debug = false
self.formatter = ::Memolog::Formatter.new
- self.initializers = %i[rails sidekiq]
+ self.middlewares = %i[rails sidekiq]
self.log_size_limit = 50_000
self.uuid_callable = -> { SecureRandom.uuid }
end
end