Merge pull request #3790 from masterkain/patch-1
Fix typo in AS::TaggedLogging
This commit is contained in:
commit
42d70d9852
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user