class method
self.logger
Ruby on Rails 3.1.12
Since v3.0.20Signature
self.logger()
No documentation comment.
Source
# File activesupport/lib/active_support/log_subscriber.rb, line 55
def logger
@logger ||= Rails.logger if defined?(Rails)
end
Defined in activesupport/lib/active_support/log_subscriber.rb line 55
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::LogSubscriber