kemal/src/kemal/base_log_handler.cr

10 lines
237 B
Crystal
Raw Normal View History

2016-07-17 11:43:13 +00:00
module Kemal
# All loggers must inherit from `Kemal::BaseLogHandler`.
2017-08-24 15:52:10 +00:00
abstract class BaseLogHandler
2016-12-24 11:22:44 +00:00
include HTTP::Handler
2017-08-25 13:41:02 +00:00
abstract def call(context : HTTP::Server::Context)
2017-08-24 20:32:43 +00:00
abstract def write(message : String)
2016-02-12 12:11:21 +00:00
end
end