source: branches/1.2/workflow/inc/log/examples/mail.php @ 1349

Revision 1349, 226 bytes checked in by niltonneto, 15 years ago (diff)

Ticket #561 - Inclusão do módulo Workflow faltante nessa versão.

  • Property svn:executable set to *
Line 
1<?php
2
3require_once 'Log.php';
4
5$conf = array('subject' => 'Important Log Events');
6$logger = &Log::singleton('mail', 'webmaster@example.com', 'ident', $conf);
7for ($i = 0; $i < 10; $i++) {
8    $logger->log("Log entry $i");
9}
Note: See TracBrowser for help on using the repository browser.