Skip to content

Commit

Permalink
document multiple recipients in XML configs
Browse files Browse the repository at this point in the history
Adds an example on how to configure multiple recipients in Monolog
for sending log entries as e-mails.
  • Loading branch information
xabbuh committed Aug 18, 2014
1 parent 4ea4dfe commit 37ab23d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions cookbook/logging/monolog_email.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 37ab23d

Please sign in to comment.