11 lines
269 B
Crystal
11 lines
269 B
Crystal
module Kemal
|
|
# This is here to represent the logger corresponding to Null Object Pattern.
|
|
class NullLogHandler < Kemal::BaseLogHandler
|
|
def call(context : HTTP::Server::Context)
|
|
call_next(context)
|
|
end
|
|
|
|
def write(message : String)
|
|
end
|
|
end
|
|
end
|