Initialize logger in config

This commit is contained in:
Sdogruyol 2016-01-17 14:22:47 +02:00
parent 51092fbb91
commit 0498801b0d

View file

@ -12,6 +12,7 @@ module Kemal
@env = "development" unless @env
@public_folder = "./public"
@logging = true
@logger = nil
end
def scheme
@ -23,7 +24,7 @@ module Kemal
end
def logger
@logger
@logger.not_nil!
end
def logger=(logger)