class ActiveSupport::LogSubscriber::TestHelper::MockLogger
def method_missing(level, message = nil)
def method_missing(level, message = nil) if block_given? @logged[level] << yield else @logged[level] << message end end
def method_missing(level, message = nil) if block_given? @logged[level] << yield else @logged[level] << message end end