Add log macro

This commit is contained in:
Sdogruyol 2016-01-08 18:44:37 +02:00
parent 265bfb1db2
commit aabfe4ff99
3 changed files with 14 additions and 4 deletions

View file

@ -18,6 +18,7 @@ describe "Logger" do
logger = Kemal::Logger.new
logger.handler.should be_a File
end
it "writes to a file in production" do
config = Kemal.config
config.env = "production"