method
new
v3.2.1 -
Show latest stable
- Class:
ActiveSupport::LogSubscriber::TestHelper::MockLogger
new(level = DEBUG)public
No documentation available.
# File activesupport/lib/active_support/log_subscriber/test_helper.rb, line 58
def initialize(level = DEBUG)
@flush_count = 0
@level = level
@logged = Hash.new { |h,k| h[k] = [] }
end