mirror of
https://github.com/iv-org/invidious.git
synced 2026-10-24 22:09:13 -05:00
Merge 2ac549c40afc363a2d6515015d77276db7011a81 into 3b21f78e99c1416f65dd3e64f1aa43b2f4dcad7a
This commit is contained in:
commit
e7becb6551
@ -14,7 +14,6 @@ end
|
|||||||
class Invidious::LogHandler < Kemal::BaseLogHandler
|
class Invidious::LogHandler < Kemal::BaseLogHandler
|
||||||
def initialize(@io : IO = STDOUT, @level = LogLevel::Debug, use_color : Bool = true)
|
def initialize(@io : IO = STDOUT, @level = LogLevel::Debug, use_color : Bool = true)
|
||||||
Colorize.enabled = use_color
|
Colorize.enabled = use_color
|
||||||
Colorize.on_tty_only!
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def call(context : HTTP::Server::Context)
|
def call(context : HTTP::Server::Context)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user