提交 42d70d98 编写于 作者: V Vijay Dev

Merge pull request #3790 from masterkain/patch-1

Fix typo in AS::TaggedLogging
......@@ -30,7 +30,7 @@ def add(severity, message = nil, progname = nil, &block)
@logger.add(severity, "#{tags_text}#{message}", progname, &block)
end
%w( fatal error warn info debug unkown ).each do |severity|
%w( fatal error warn info debug unknown ).each do |severity|
eval <<-EOM, nil, __FILE__, __LINE__ + 1
def #{severity}(progname = nil, &block)
add(Logger::#{severity.upcase}, progname, &block)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册