source:
trunk/workflow/inc/log/examples/syslog.php
@
795
Revision 795, 156 bytes checked in by viani, 15 years ago (diff) | |
---|---|
|
Line | |
---|---|
1 | <?php |
2 | |
3 | require_once 'Log.php'; |
4 | |
5 | $logger = &Log::singleton('syslog', LOG_LOCAL0, '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.