source:
trunk/workflow/inc/log/examples/error_log.php
@
795
Revision 795, 169 bytes checked in by viani, 15 years ago (diff) | |
---|---|
|
Rev | Line | |
---|---|---|
[795] | 1 | <?php |
2 | ||
3 | require_once 'Log.php'; | |
4 | ||
5 | $logger = &Log::singleton('error_log', PEAR_LOG_TYPE_SYSTEM, 'ident'); | |
6 | for ($i = 0; $i < 10; $i++) { | |
7 | $logger->log("Log entry $i"); | |
8 | } |
Note: See TracBrowser
for help on using the repository browser.