Skip to Content Skip to Search

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.

Methods
L

Instance Public methods

logger()

# File actionpack/lib/abstract_controller/logger.rb, line 20
def logger
  config[:logger]
end

logger=(logger)

# File actionpack/lib/abstract_controller/logger.rb, line 24
def logger=(logger)
  config[:logger] = logger
end