lib/memolog/config.rb in memolog-0.5.1 vs lib/memolog/config.rb in memolog-0.5.2

- old
+ new

@@ -1,15 +1,17 @@ # frozen_string_literal: true Memolog::Config = Struct.new( :debug, :formatter, - :middlewares, + :isolation_level, :log_size_limit, + :middlewares, ) do def initialize self.debug = false self.formatter = Logger::Formatter.new - self.middlewares = %i[rails sidekiq] + self.isolation_level = :thread self.log_size_limit = 50_000 + self.middlewares = %i[rails sidekiq] end end