source: trunk/workflow/inc/log/examples/display.php @ 7655

Revision 7655, 283 bytes checked in by douglasz, 12 years ago (diff)

Ticket #3236 - Melhorias de performance no codigo do Expresso.

  • Property svn:executable set to *
RevLine 
[795]1<?php
2
3require_once '../Log.php';
4
5$conf = array('error_prepend' => '<font color="#ff0000"><tt>',
6              'error_append'  => '</tt></font>');
7$logger = &Log::singleton('display', '', '', $conf, PEAR_LOG_DEBUG);
[7655]8for ($i = 0; $i < 10; ++$i) {
[795]9    $logger->log("Log entry $i");
10}
Note: See TracBrowser for help on using the repository browser.