lib/frankenstein/server/webrick_logger.rb in frankenstein-0.3.0 vs lib/frankenstein/server/webrick_logger.rb in frankenstein-0.3.1
- old
+ new
@@ -54,10 +54,10 @@
end
# Proxy the severity query methods too, because WEBrick likes to check
# those directly for... reasons.
%i{debug? error? fatal? info? warn?}.each do |sevp|
- defined_method(sevp) do
+ define_method(sevp) do
@logger.__send__(sevp)
end
end
# Simulate the "append literal message" feature