We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0412c6a commit 282412aCopy full SHA for 282412a
plugins/logger.rst
@@ -26,6 +26,11 @@ compliant logger::
26
[$loggerPlugin]
27
);
28
29
+The log level for exceptions is `error`, the request and responses without exceptions are logged at level `info`.
30
+Request and response/errors can be correlated by looking at the `uid` of the log context.
31
+If you don't want to normally log requests, you can set the logger to normally only log `error` but use the
32
+Fingerscrossed logger of monolog to also log the request in case an exception is encountered.
33
+
34
By default it uses ``Http\Message\Formatter\SimpleFormatter`` to format the request or the response into a string.
35
You can use any formatter implementing the ``Http\Message\Formatter`` interface::
36
0 commit comments