Permalink
Browse files

Log spacing

  • Loading branch information...
winton committed Dec 2, 2009
1 parent af83d98 commit 949507451fa83e62b11448e7f156d4e2d0a8cc70
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/rack/lilypad.rb
View
@@ -53,7 +53,8 @@ def filter(hash)
end
def log(*msg)
- ::File.open(@log, 'a') { |f| f.write(msg.compact.join("\n\n")) } if @log
+ msg = msg.compact.join("\n\n") + "\n\n"
+ ::File.open(@log, 'a') { |f| f.write(msg) } if @log
end
def post(exception, env)

0 comments on commit 9495074

Please sign in to comment.