lib/heavylog/railtie.rb in heavylog-0.0.9 vs lib/heavylog/railtie.rb in heavylog-0.0.10

- old
+ new

@@ -1,10 +1,11 @@ # frozen_string_literal: true + module Heavylog class Railtie < Rails::Railtie config.heavylog = Heavylog::OrderedOptions.new config.heavylog.enabled = false - config.heavylog.path = 'log/heavylog.log' + config.heavylog.path = "log/heavylog.log" config.heavylog.message_limit = 1024 * 1024 * 50 # 50MB config.heavylog.log_sidekiq = false initializer "heavylog.insert_middleware" do |app| app.config.middleware.insert_before Rails::Rack::Logger, Heavylog::Middleware