aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/logger.rb
blob: a23a13e1d68507bf1457544091f4ccaaa748ca04 (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