class Falcon::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.authority) {"#{request.method} #{request.path} #{request.version} -> #{response.status} #{response.headers.to_h}; #{statistics.inspect}"}
		
		@logger.error(request.authority) {"#{error.class}: #{error.message}"} if error
	end
	
	return response
end