source: branches/1.2/workflow/inc/nano/Logger.class.php @ 1349

Revision 1349, 340 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/**
3 * NanoController
4 *
5 * @package NanoAjax
6 *
7 */
8class DummyLogger
9{
10    public function add( $entry ) {}
11
12    public function rawAdd( $entry ) {}
13}
14
15class Logger
16{
17    public function add( $entry )
18    {
19        $this->rawAdd( $entry."<br/>\n" );
20    }
21
22    public function rawAdd( $entry )
23    {
24        echo $entry;
25    }
26}
27
28?>
Note: See TracBrowser for help on using the repository browser.