提交 e3f8b533 编写于 作者: B Brian Cardarella

Fixed logger bug introduced by #2237

上级 251b22f7
......@@ -61,6 +61,9 @@ def initialize(level = DEBUG)
@logged = Hash.new { |h,k| h[k] = [] }
end
def debug
end
def method_missing(level, message)
@logged[level] << message
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册