=htc,doc #18496 make all directive docs have the same style, some

additions
This commit is contained in:
Konrad Malawski 2015-10-09 15:19:36 +02:00
parent bb053bea2a
commit cddb1ade40
103 changed files with 212 additions and 335 deletions

View file

@ -3,8 +3,6 @@
logRequest
==========
Logs the request.
Signature
---------

View file

@ -3,8 +3,6 @@
logRequestResult
================
Logs request and response.
Signature
---------
@ -23,9 +21,11 @@ The signature shown is simplified, the real signature uses magnets. [1]_
Description
-----------
Logs both, the request and the response.
This directive is a combination of ``logRequest`` and ``logResult``. See ``logRequest`` for the general description
how these directives work.
This directive is a combination of :ref:`-logRequest-` and :ref:`-logResult-`.
See :ref:`-logRequest-` for the general description how these directives work.
Example
-------

View file

@ -3,8 +3,6 @@
logResult
=========
Logs the response.
Signature
---------
@ -23,8 +21,9 @@ The signature shown is simplified, the real signature uses magnets. [1]_
Description
-----------
Logs the response.
See ``logRequest`` for the general description how these directives work. This directive is different
See :ref:`-logRequest-` for the general description how these directives work. This directive is different
as it requires a ``LoggingMagnet[Any => Unit]``. Instead of just logging ``HttpResponses``, ``logResult`` is able to
log any :ref:`RouteResult` coming back from the inner route.