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

Revision 1349, 305 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$console = &Log::singleton('console', '', 'TEST');
6$file = &Log::singleton('file', 'out.log', 'TEST');
7
8$composite = &Log::singleton('composite');
9$composite->addChild($console);
10$composite->addChild($file);
11
12$composite->log('This event will be logged to both handlers.');
Note: See TracBrowser for help on using the repository browser.