# Functions
LogRequest returns a function that accepts an http.Handler and returns another http.Handler that logs all requests that come in.
RecoverPanic is a middleware that handles all panic that occur during the execution of the request logs them, sets a Connection: Close header and returns Internal error to the consumer.