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

Revision 795, 283 bytes checked in by viani, 15 years ago (diff)

Ticket #488 - Inclusão do módulo workflow no ramo trunk do repositório Expresso.

  • Property svn:executable set to *
Line 
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);
8for ($i = 0; $i < 10; $i++) {
9    $logger->log("Log entry $i");
10}
Note: See TracBrowser for help on using the repository browser.