/[cvs]/nfo/php/libs/org.netfrag.glib/DesignPattern/Logger.php
ViewVC logotype

Contents of /nfo/php/libs/org.netfrag.glib/DesignPattern/Logger.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Mon Feb 3 03:33:48 2003 UTC (21 years, 8 months ago) by joko
Branch: MAIN
+ initial commit

1 <?
2 // ---------------------------------------------------------------------------
3 // $Id: Site.php,v 1.5 2002/12/23 11:33:58 jonen Exp $
4 // ---------------------------------------------------------------------------
5 // $Log: Site.php,v $
6 // ---------------------------------------------------------------------------
7
8
9 class DesignPattern_Logger {
10
11 function log($msg, $level) {
12 if ($this->logger) {
13 $this->logger->log($msg, $level);
14 } else {
15 // TODO: how are these type of errors handled?
16 //print "error-message: $msg<br>";
17 }
18 }
19
20 }
21
22 ?>

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed