1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-20 20:01:52 +02:00

Clarify/fix bubbling docs, fixes #229

This commit is contained in:
Jordi Boggiano
2013-09-02 12:20:30 +02:00
parent 933f7e26be
commit 1518320bec
3 changed files with 9 additions and 9 deletions

View File

@@ -45,8 +45,8 @@ the bottom of the stack that will log anything to disk, and on top of that add
a `MailHandler` that will send emails only when an error message is logged.
Handlers also have a `$bubble` property which defines whether they block the
record or not if they handled it. In this example, setting the `MailHandler`'s
`$bubble` argument to true means that all records will propagate to the
`StreamHandler`, even the errors that are handled by the `MailHandler`.
`$bubble` argument to false means that records handled by the `MailHandler` will
not propagate to the `StreamHandler` anymore.
You can create many `Logger`s, each defining a channel (e.g.: db, request,
router, ..) and each of them combining various handlers, which can be shared