class

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
Source
settings
Source

Instance methods

logger(*args, **options)
Source
logger(*args, **options, &)
Source
settings
Source

Nested types