Module: AbstractController::Logger
Do not use. This module is for internal use only.
| Relationships & Source Files | |
| Namespace Children | |
|
Modules:
| |
| Extension / Inclusion / Inheritance Descendants | |
|
Included In:
::ActionController::API,
::ActionController::Base,
::ActionController::Instrumentation,
::ActionController::Redirecting,
::ActionMailer::Base,
::ActionView::TestCase::TestController,
::Rails::ApplicationController,
::Rails::DevtoolsController,
::Rails::HealthController,
::Rails::InfoController,
::Rails::MailersController,
::Rails::PwaController,
::Rails::WelcomeController
| |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
::ActiveSupport::Concern
|
|
| Defined in: | actionpack/lib/abstract_controller/logger.rb |
Class Method Summary
::ActiveSupport::Concern - Extended
| class_methods | Define class methods from given block. |
| included | Evaluate given block in context of base class, so that you can write class macros here. |
| prepended | Evaluate given block in context of base class, so that you can write class macros here. |
| append_features, prepend_features | |
Instance Attribute Summary
- #logger rw
- #logger=(logger) rw
DSL Calls
included
[ GitHub ]9 10 11
# File 'actionpack/lib/abstract_controller/logger.rb', line 9
included do include ActiveSupport::Benchmarkable end
Instance Attribute Details
#logger (rw)
[ GitHub ]# File 'actionpack/lib/abstract_controller/logger.rb', line 27
def logger # Reading through the class config when no instance copy exists # avoids materializing the per-instance inheritable copy just to # look at the logger. config = (defined?(@_config) && @_config) || self.class.config config[:logger] end