title: How can I log all requests and responses
body: <p>Zend Expressive 2</p>
  
  <p>I need all inputs and all outputs.
  My, pipeline.php</p>
  
  <pre><code>$app-&gt;pipe(\Zend\Stratigility\Middleware\ErrorHandler::class);
  $app-&gt;pipe(\Zend\Expressive\Helper\ServerUrlMiddleware::class);
  $app-&gt;pipe(\App\Middleware\LogRequestsMiddleware::class);
  $app-&gt;pipeRoutingMiddleware();
  $app-&gt;pipe(\Zend\Expressive\Middleware\ImplicitHeadMiddleware::class);
  $app-&gt;pipe(\Zend\Expressive\Middleware\ImplicitOptionsMiddleware::class);
  $app-&gt;pipe(\Zend\Expressive\Helper\UrlHelperMiddleware::class);
  $app-&gt;pipeDispatchMiddleware();
  $app-&gt;pipe(\App\Middleware\LogResponseMiddleware::class);
  $app-&gt;pipe(\Zend\Expressive\Middleware\NotFoundHandler::class);
  </code></pre>
  
  <p>LogResponseMiddleware dont execute. If Error it need too.</p>