-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
document multiple recipients in XML configs
Adds an example on how to configure multiple recipients in Monolog for sending log entries as e-mails.
- Loading branch information
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,10 +57,18 @@ it is broken down. | |
<monolog:handler | ||
name="swift" | ||
from-email="[email protected]" | ||
to-email="[email protected]" | ||
subject="An Error Occurred!" | ||
level="debug" | ||
/> | ||
level="debug"> | ||
<monolog:to-email>[email protected]</monolog:to-email> | ||
<!-- or multiple to-email elements --> | ||
<!-- | ||
<monolog:to-email>[email protected]</monolog:to-email> | ||
<monolog:to-email>[email protected]</monolog:to-email> | ||
... | ||
--> | ||
</monolog:handler> | ||
</monolog:config> | ||
</container> | ||
|