Sha256: f2210865f815aab8f035c0ed787ff335ecd5d79a3448ebaa520a632a944970e5
Contents?: true
Size: 379 Bytes
Versions: 2
Compression:
Stored size: 379 Bytes
Contents
# frozen_string_literal: true require 'rails/railtie' require 'action_view/log_subscriber' require 'action_controller/log_subscriber' module Lograge class Railtie < Rails::Railtie config.lograge = Lograge::OrderedOptions.new config.lograge.enabled = false config.after_initialize do |app| Lograge.setup(app) if app.config.lograge.enabled end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lograge-0.13.0 | lib/lograge/railtie.rb |
lograge-0.12.0 | lib/lograge/railtie.rb |