Skip to content

Commit ecd3048

Browse files
committed
minor #18038 Add missing import for LogRecord class in processors code example (timkrase)
This PR was merged into the 6.2 branch. Discussion ---------- Add missing import for LogRecord class in processors code example The code example on the [processors page](https://symfony.com/doc/current/logging/processors.html) uses the "LogRecord" class (starting with Symfony version 6.2) but is missing the corresponding import for the class. Commits ------- ea78a5d Add missing import for LogRecord in processors
2 parents 35adae0 + ea78a5d commit ecd3048

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

logging/processors.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ using a processor::
1919
// src/Logger/SessionRequestProcessor.php
2020
namespace App\Logger;
2121

22+
use Monolog\LogRecord;
2223
use Symfony\Component\HttpFoundation\Exception\SessionNotFoundException;
2324
use Symfony\Component\HttpFoundation\RequestStack;
2425

0 commit comments

Comments
 (0)