From 322ce95fbfbcebbac88f06572518326ece0249a2 Mon Sep 17 00:00:00 2001 From: Fabien Salathe Date: Tue, 24 Nov 2020 11:58:07 +0100 Subject: [PATCH] Remove wrong "method" tag Method tag is not needed when the processor is invokable, here it would call `processRecord` which doesn't exist --- logging/processors.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logging/processors.rst b/logging/processors.rst index 9f46326ddaa..5f1e27834b5 100644 --- a/logging/processors.rst +++ b/logging/processors.rst @@ -103,7 +103,7 @@ information: $container ->register(SessionRequestProcessor::class) - ->addTag('monolog.processor', ['method' => 'processRecord']); + ->addTag('monolog.processor'); Finally, set the formatter to be used on whatever handler you want: