123456789_123456789_123456789_123456789_123456789_

Module: RSpec::Rails::TaggedLoggingAdapter Private

Do not use. This module is for internal use only.

Instance Method Summary

  • #tagged_logger private Internal use only

    Vendored from activesupport/lib/active_support/testing/tagged_logging.rb This implements the tagged_logger method where it is expected, but doesn’t call ‘name` or set it up like ::RSpec::Rails does.

Instance Method Details

#tagged_logger (private)

Vendored from activesupport/lib/active_support/testing/tagged_logging.rb This implements the tagged_logger method where it is expected, but doesn’t call ‘name` or set it up like ::RSpec::Rails does.

[ GitHub ]

  
# File 'rspec-rails/lib/rspec/rails/adapters.rb', line 191

def tagged_logger
  @tagged_logger ||= (defined?(Rails.logger) && Rails.logger)
end