方法
- N
属性
[R] | logger | |
[R] | request |
类公共方法
new(request) 链接
来源:显示 | 在 GitHub 上
# 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