1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix typo in AS::TaggedLogging

This commit is contained in:
Claudio Poli 2011-11-29 00:26:58 +01:00
parent 52a9884ce4
commit 2a76f33b51

View file

@ -30,7 +30,7 @@ module ActiveSupport
@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)