Revision 795,
305 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
*
|
Rev | Line | |
---|
[795] | 1 | <?php |
---|
| 2 | |
---|
| 3 | require_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.