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