Revert back to File.write

This commit is contained in:
Sdogruyol 2015-11-21 00:43:28 +02:00
parent 485fed11af
commit 556247c4ad
2 changed files with 3 additions and 2 deletions

View file

@ -35,7 +35,7 @@ class Kemal::Logger < HTTP::Handler
def write(message)
if @env == "production"
File.write "kemal.log", message
@handler.write message.to_slice
else
@handler.print message
end