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