跳至内容 跳至搜索
方法
N

属性

[R] logger
[R] request

类公共方法

new(request)

# File actioncable/lib/action_cable/connection/test_case.rb, line 60
def initialize(request)
  inner_logger = ActiveSupport::Logger.new(StringIO.new)
  tagged_logging = ActiveSupport::TaggedLogging.new(inner_logger)
  @logger = ActionCable::Connection::TaggedLoggerProxy.new(tagged_logging, tags: [])
  @request = request
  @env = request.env
end