- debug :: Middleware
- debugHandle :: (Text -> IO ()) -> Middleware
Documentation
Prints a message to stderr
for each request.
debugHandle :: (Text -> IO ()) -> MiddlewareSource
Prints a message using the given callback function for each request. This is not for serious production use- it is inefficient. It immediately consumes a POST body and fills it back in and is otherwise inefficient