mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Improve logging and specs
This commit is contained in:
parent
dc3cc74798
commit
98efbfe341
7 changed files with 41 additions and 30 deletions
|
@ -9,7 +9,13 @@ class CustomTestHandler < HTTP::Handler
|
|||
end
|
||||
end
|
||||
|
||||
class CustomLogHandler < Kemal::BaseLogHandler; end
|
||||
class CustomLogHandler < Kemal::BaseLogHandler
|
||||
def call(context)
|
||||
end
|
||||
|
||||
def write(message)
|
||||
end
|
||||
end
|
||||
|
||||
def create_request_and_return_io(handler, request)
|
||||
io = MemoryIO.new
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue