class Falcon::Middleware::Verbose
def call(request)
def call(request) annotate(request) statistics = Async::HTTP::Statistics.start response = super statistics.wrap(response) do |statistics, error| @logger.info(request) {"Responding with: #{response.status} #{response.headers.to_h}; #{statistics.inspect}"} @logger.error(request) {"#{error.class}: #{error.message}"} if error end return response end