mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Refactor
This commit is contained in:
parent
cfedc7c538
commit
efd97b75f9
2 changed files with 2 additions and 1 deletions
|
@ -77,6 +77,7 @@ end
|
||||||
Spec.before_each do
|
Spec.before_each do
|
||||||
config = Kemal.config
|
config = Kemal.config
|
||||||
config.env = "development"
|
config.env = "development"
|
||||||
|
config.logging = false
|
||||||
end
|
end
|
||||||
|
|
||||||
Spec.after_each do
|
Spec.after_each do
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
module Kemal
|
module Kemal
|
||||||
# All loggers must inherit from `Kemal::BaseLogHandler`.
|
# All loggers must inherit from `Kemal::BaseLogHandler`.
|
||||||
abstract class Kemal::BaseLogHandler
|
abstract class BaseLogHandler
|
||||||
include HTTP::Handler
|
include HTTP::Handler
|
||||||
|
|
||||||
abstract def call(context)
|
abstract def call(context)
|
||||||
|
|
Loading…
Reference in a new issue