From ff8172612ccb476f9c0e861733916d5aeadd3c21 Mon Sep 17 00:00:00 2001 From: Dany Maillard Date: Sun, 16 Jul 2017 14:55:30 +0200 Subject: [PATCH] Add TokenProcessor --- logging/processors.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/logging/processors.rst b/logging/processors.rst index 750ebf40fd9..0a5f5dcdbbc 100644 --- a/logging/processors.rst +++ b/logging/processors.rst @@ -162,6 +162,10 @@ If you use several handlers, you can also register a processor at the handler level or at the channel level instead of registering it globally (see the following sections). +.. versionadded:: 3.4 + The :class:``Symfony\\Bridge\\Monolog\\Processor\\TokenProcessor`` class was added in Symfony 3.4. + This processor adds the current security token to the log entry (username, authenticated status and roles). + Registering Processors per Handler ----------------------------------