instance method
logger
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v7.0.10Signature
logger()
TODO: Ideally, ActionView should have its own logger so it does not depend on AC.logger
Source
# File actionpack/lib/action_view/log_subscriber.rb, line 16
def logger
ActionController::Base.logger if defined?(ActionController::Base)
end
Defined in actionpack/lib/action_view/log_subscriber.rb line 16
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::LogSubscriber