Don't forget to call_next on NullLogHandler

This commit is contained in:
sdogruyol 2016-09-05 17:55:53 +03:00
parent 64d3271fb2
commit 7c8915bfa4
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,5 @@
name: kemal name: kemal
version: 0.15.0 version: 0.15.1
dependencies: dependencies:
radix: radix:

View file

@ -2,6 +2,7 @@ module Kemal
# This is here to represent the logger corresponding to Null Object Pattern. # This is here to represent the logger corresponding to Null Object Pattern.
class NullLogHandler < Kemal::BaseLogHandler class NullLogHandler < Kemal::BaseLogHandler
def call(context) def call(context)
call_next(context)
end end
def write(message) def write(message)