source:
tags/expresso/2.0.0.rc1/workflow/inc/log/examples/firebug.php
@
795
Revision 795, 273 bytes checked in by viani, 15 years ago (diff) | |
---|---|
|
Line | |
---|---|
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 | |
10 | for ($i = 0; $i < 10; $i++) { |
11 | $logger->log("Log entry $i"); |
12 | } |
Note: See TracBrowser
for help on using the repository browser.