Skip to content

Commit 20787d7

Browse files
committed
minor #19859 [Logger] Fix group handler name (andersonamuller)
This PR was submitted for the 7.0 branch but it was merged into the 5.4 branch instead. Discussion ---------- [Logger] Fix group handler name <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- 1d9a171 Fix group handler name
2 parents 0693e98 + 1d9a171 commit 20787d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

logging/monolog_email.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ get logged on the server as well as the emails being sent:
292292
->handler('grouped')
293293
;
294294
295-
$monolog->handler('group')
295+
$monolog->handler('grouped')
296296
->type('group')
297297
->members(['streamed', 'deduplicated'])
298298
;
@@ -322,7 +322,7 @@ get logged on the server as well as the emails being sent:
322322
;
323323
};
324324
325-
This uses the ``group`` handler to send the messages to the two
325+
This uses the ``grouped`` handler to send the messages to the two
326326
group members, the ``deduplicated`` and the ``stream`` handlers. The messages will
327327
now be both written to the log file and emailed.
328328

0 commit comments

Comments
 (0)