.. _-logResult-java-:
logResult
=========
Description
-----------
Logs the response.
See :ref:`-logRequest-java-` for the general description how these directives work.
Use ``logRequest`` for logging the request, or ``logRequestResult`` for logging both.
Example
-------
.. includecode:: ../../../../code/docs/http/javadsl/server/directives/DebuggingDirectivesExamplesTest.java#logResult