source:
trunk/workflow/inc/log/examples/firebug.php
@
7655
Revision 7655, 273 bytes checked in by douglasz, 12 years ago (diff) | |
---|---|
|
Rev | Line | |
---|---|---|
[795] | 1 | <?php |
2 | ||
3 | require_once '../Log.php'; | |
4 | ||
5 | $logger = &Log::singleton('firebug', '', | |
6 | 'PHP', | |
7 | array('buffering' => true), | |
8 | PEAR_LOG_DEBUG); | |
9 | ||
[7655] | 10 | for ($i = 0; $i < 10; ++$i) { |
[795] | 11 | $logger->log("Log entry $i"); |
12 | } |
Note: See TracBrowser
for help on using the repository browser.