Module: AbstractController::Logger::ClassMethods
| Relationships & Source Files | |
| Defined in: | actionpack/lib/abstract_controller/logger.rb |
Overview
The logger lives in the controller configuration. It is read from the
configuration hash directly rather than through config.logger, which
dispatches through OrderedOptions#method_missing and allocates on every
call.
Instance Attribute Summary
- #logger rw
- #logger=(logger) rw
Instance Attribute Details
#logger (rw)
[ GitHub ]# File 'actionpack/lib/abstract_controller/logger.rb', line 20
def logger config[:logger] end