Lucky::LogHandler
Inherits Habitat::SettingsHelpers < Habitat::TempConfig < HTTP::Handler < Reference < Object
Constants
HABITAT_SETTINGS = [{decl: skip_if : Proc(HTTP::Server::Context, Bool) | ::Nil, example: nil, validation: nil}] of Nil
REQUEST_END_KEYS = {
status: "status",
duration: "duration",
request_id: "request_id",
}
REQUEST_START_KEYS = {
method: "method",
path: "path",
request_id: "request_id",
}
These constants are used here and in the PrettyLogFormatter to make sure that the formatter looks for the right keys!
Class methods
configure
Sourcesettings
SourceInstance methods
call(context : HTTP::Server::Context)
Sourcelogger(*args, **options)
Sourcelogger(*args, **options, &)
Sourcesettings
Source