aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/logger.rb
blob: 9318f5e369b40cb7ae8ea5264a9da38ec5f9bcf5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
require "active_support/core_ext/logger"
require "active_support/benchmarkable"

module AbstractController
  module Logger
    extend ActiveSupport::Concern

    included do
      cattr_accessor :logger
      extend ActiveSupport::Benchmarkable
    end
  end
end