source:
tags/expresso/2.0.0.rc1/workflow/inc/log/examples/mail.php
@
795
Revision 795, 226 bytes checked in by viani, 15 years ago (diff) | |
---|---|
|
Line | |
---|---|
1 | <?php |
2 | |
3 | require_once 'Log.php'; |
4 | |
5 | $conf = array('subject' => 'Important Log Events'); |
6 | $logger = &Log::singleton('mail', 'webmaster@example.com', 'ident', $conf); |
7 | for ($i = 0; $i < 10; $i++) { |
8 | $logger->log("Log entry $i"); |
9 | } |
Note: See TracBrowser
for help on using the repository browser.