pekko/akka-docs/rst/java/http/routing-dsl/directives/debugging-directives/logResult.rst
Fabian Gutierrez 2b60f5fcbf +doc #20466 akka http javadsl - add debugging directive test (#20651)
* akka http javadsl - add debugging directive test

* fixes line breaks
2016-05-30 10:47:45 +02:00

16 lines
393 B
ReStructuredText

.. _-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