Modified:
incubator/log4php/site/apidocs/log4php/spi/LoggerFactory.htm
l
URL: http://svn.apache.org/viewvc/
incubator/log4php/site/apidocs/log4php/spi/LoggerFactory.htm
l?view=diff&rev=558753&r1=558752&r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/spi/LoggerFactory.htm
l (original)
+++
incubator/log4php/site/apidocs/log4php/spi/LoggerFactory.htm
l Mon Jul 23 07:49:17 2007
 -140,7
+140,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:58
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/spi/LoggerFilter.html
URL: http://svn.apache.org/viewvc/i
ncubator/log4php/site/apidocs/log4php/spi/LoggerFilter.html?
view=diff&rev=558753&r1=558752&r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/spi/LoggerFilter.html
(original)
+++
incubator/log4php/site/apidocs/log4php/spi/LoggerFilter.html
Mon Jul 23 07:49:17 2007
 -294,7
+294,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:58
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/spi/LoggerFormattingI
nfo.html
URL: http://svn.apache.org/
viewvc/incubator/log4php/site/apidocs/log4php/spi/LoggerForm
attingInfo.html?view=diff&rev=558753&r1=558752&r
2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/spi/LoggerFormattingI
nfo.html (original)
+++
incubator/log4php/site/apidocs/log4php/spi/LoggerFormattingI
nfo.html Mon Jul 23 07:49:17 2007
 -249,7
+249,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:58
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/spi/LoggerLocationInf
o.html
URL: http://svn.apache.org/vi
ewvc/incubator/log4php/site/apidocs/log4php/spi/LoggerLocati
onInfo.html?view=diff&rev=558753&r1=558752&r2=55
8753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/spi/LoggerLocationInf
o.html (original)
+++
incubator/log4php/site/apidocs/log4php/spi/LoggerLocationInf
o.html Mon Jul 23 07:49:17 2007
 -394,7
+394,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:59
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/spi/LoggerLoggingEven
t.html
URL: http://svn.apache.org/vi
ewvc/incubator/log4php/site/apidocs/log4php/spi/LoggerLoggin
gEvent.html?view=diff&rev=558753&r1=558752&r2=55
8753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/spi/LoggerLoggingEven
t.html (original)
+++
incubator/log4php/site/apidocs/log4php/spi/LoggerLoggingEven
t.html Mon Jul 23 07:49:17 2007
 -837,7
+837,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:59
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/spi/_spi---LoggerConf
igurator.php.html
URL: http://svn.ap
ache.org/viewvc/incubator/log4php/site/apidocs/log4php/spi/_
spi---LoggerConfigurator.php.html?view=diff&rev=558753&a
mp;r1=558752&r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/spi/_spi---LoggerConf
igurator.php.html (original)
+++
incubator/log4php/site/apidocs/log4php/spi/_spi---LoggerConf
igurator.php.html Mon Jul 23 07:49:17 2007
 -101,7
+101,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:57
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/spi/_spi---LoggerFact
ory.php.html
URL: http://svn.apache.
org/viewvc/incubator/log4php/site/apidocs/log4php/spi/_spi--
-LoggerFactory.php.html?view=diff&rev=558753&r1=5587
52&r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/spi/_spi---LoggerFact
ory.php.html (original)
+++
incubator/log4php/site/apidocs/log4php/spi/_spi---LoggerFact
ory.php.html Mon Jul 23 07:49:17 2007
 -83,7
+83,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:58
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/spi/_spi---LoggerFilt
er.php.html
URL: http://svn.apache.o
rg/viewvc/incubator/log4php/site/apidocs/log4php/spi/_spi---
LoggerFilter.php.html?view=diff&rev=558753&r1=558752
&r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/spi/_spi---LoggerFilt
er.php.html (original)
+++
incubator/log4php/site/apidocs/log4php/spi/_spi---LoggerFilt
er.php.html Mon Jul 23 07:49:17 2007
 -114,7
+114,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:58
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/spi/_spi---LoggerLoca
tionInfo.php.html
URL: http://svn.ap
ache.org/viewvc/incubator/log4php/site/apidocs/log4php/spi/_
spi---LoggerLocationInfo.php.html?view=diff&rev=558753&a
mp;r1=558752&r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/spi/_spi---LoggerLoca
tionInfo.php.html (original)
+++
incubator/log4php/site/apidocs/log4php/spi/_spi---LoggerLoca
tionInfo.php.html Mon Jul 23 07:49:17 2007
 -84,7
+84,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:59
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/spi/_spi---LoggerLogg
ingEvent.php.html
URL: http://svn.ap
ache.org/viewvc/incubator/log4php/site/apidocs/log4php/spi/_
spi---LoggerLoggingEvent.php.html?view=diff&rev=558753&a
mp;r1=558752&r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/spi/_spi---LoggerLogg
ingEvent.php.html (original)
+++
incubator/log4php/site/apidocs/log4php/spi/_spi---LoggerLogg
ingEvent.php.html Mon Jul 23 07:49:17 2007
 -125,7
+125,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:59
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/varia/LoggerDenyAllFi
lter.html
URL: http://svn.apache.org
/viewvc/incubator/log4php/site/apidocs/log4php/varia/LoggerD
enyAllFilter.html?view=diff&rev=558753&r1=558752&
;r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/varia/LoggerDenyAllFi
lter.html (original)
+++
incubator/log4php/site/apidocs/log4php/varia/LoggerDenyAllFi
lter.html Mon Jul 23 07:49:17 2007
 -153,7
+153,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:57
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/varia/LoggerLevelMatc
hFilter.html
URL: http://svn.apache.
org/viewvc/incubator/log4php/site/apidocs/log4php/varia/Logg
erLevelMatchFilter.html?view=diff&rev=558753&r1=5587
52&r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/varia/LoggerLevelMatc
hFilter.html (original)
+++
incubator/log4php/site/apidocs/log4php/varia/LoggerLevelMatc
hFilter.html Mon Jul 23 07:49:17 2007
 -320,7
+320,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:59
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/varia/LoggerLevelRang
eFilter.html
URL: http://svn.apache.
org/viewvc/incubator/log4php/site/apidocs/log4php/varia/Logg
erLevelRangeFilter.html?view=diff&rev=558753&r1=5587
52&r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/varia/LoggerLevelRang
eFilter.html (original)
+++
incubator/log4php/site/apidocs/log4php/varia/LoggerLevelRang
eFilter.html Mon Jul 23 07:49:17 2007
 -396,7
+396,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:59
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/varia/LoggerStringMat
chFilter.html
URL: http://svn.apache
.org/viewvc/incubator/log4php/site/apidocs/log4php/varia/Log
gerStringMatchFilter.html?view=diff&rev=558753&r1=55
8752&r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/varia/LoggerStringMat
chFilter.html (original)
+++
incubator/log4php/site/apidocs/log4php/varia/LoggerStringMat
chFilter.html Mon Jul 23 07:49:17 2007
 -321,7
+321,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:19:01
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/varia/_varia---Logger
DenyAllFilter.php.html
URL: http://s
vn.apache.org/viewvc/incubator/log4php/site/apidocs/log4php/
varia/_varia---LoggerDenyAllFilter.php.html?view=diff&re
v=558753&r1=558752&r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/varia/_varia---Logger
DenyAllFilter.php.html (original)
+++
incubator/log4php/site/apidocs/log4php/varia/_varia---Logger
DenyAllFilter.php.html Mon Jul 23 07:49:17 2007
 -83,7
+83,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:57
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/varia/_varia---Logger
LevelMatchFilter.php.html
URL: http:
//svn.apache.org/viewvc/incubator/log4php/site/apidocs/log4p
hp/varia/_varia---LoggerLevelMatchFilter.php.html?view=diff&
amp;rev=558753&r1=558752&r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/varia/_varia---Logger
LevelMatchFilter.php.html (original)
+++
incubator/log4php/site/apidocs/log4php/varia/_varia---Logger
LevelMatchFilter.php.html Mon Jul 23 07:49:17 2007
 -97,7
+97,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:59
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/varia/_varia---Logger
LevelRangeFilter.php.html
URL: http:
//svn.apache.org/viewvc/incubator/log4php/site/apidocs/log4p
hp/varia/_varia---LoggerLevelRangeFilter.php.html?view=diff&
amp;rev=558753&r1=558752&r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/varia/_varia---Logger
LevelRangeFilter.php.html (original)
+++
incubator/log4php/site/apidocs/log4php/varia/_varia---Logger
LevelRangeFilter.php.html Mon Jul 23 07:49:17 2007
 -97,7
+97,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:59
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/varia/_varia---Logger
StringMatchFilter.php.html
URL: http
://svn.apache.org/viewvc/incubator/log4php/site/apidocs/log4
php/varia/_varia---LoggerStringMatchFilter.php.html?view=dif
f&rev=558753&r1=558752&r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/varia/_varia---Logger
StringMatchFilter.php.html (original)
+++
incubator/log4php/site/apidocs/log4php/varia/_varia---Logger
StringMatchFilter.php.html Mon Jul 23 07:49:17 2007
 -83,7
+83,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:19:01
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/xml/LoggerDOMConfigur
ator.html
URL: http://svn.apache.org
/viewvc/incubator/log4php/site/apidocs/log4php/xml/LoggerDOM
Configurator.html?view=diff&rev=558753&r1=558752&
;r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/xml/LoggerDOMConfigur
ator.html (original)
+++
incubator/log4php/site/apidocs/log4php/xml/LoggerDOMConfigur
ator.html Mon Jul 23 07:49:17 2007
 -606,7
+606,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:58
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified:
incubator/log4php/site/apidocs/log4php/xml/_xml---LoggerDOMC
onfigurator.php.html
URL: http://svn
.apache.org/viewvc/incubator/log4php/site/apidocs/log4php/xm
l/_xml---LoggerDOMConfigurator.php.html?view=diff&rev=55
8753&r1=558752&r2=558753
============================================================
==================
---
incubator/log4php/site/apidocs/log4php/xml/_xml---LoggerDOMC
onfigurator.php.html (original)
+++
incubator/log4php/site/apidocs/log4php/xml/_xml---LoggerDOMC
onfigurator.php.html Mon Jul 23 07:49:17 2007
 -300,7
+300,7 
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:18:58
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</div></body>
</html>
Modified: incubator/log4php/site/apidocs/todolist.html
URL: http://svn.apache.org/viewvc/incubator/log4php
/site/apidocs/todolist.html?view=diff&rev=558753&r1=
558752&r2=558753
============================================================
==================
--- incubator/log4php/site/apidocs/todolist.html (original)
+++ incubator/log4php/site/apidocs/todolist.html Mon Jul 23
07:49:17 2007
 -31,7
+31,7 
<li>In 'LOGGER' case find a better way to detect
'getLogger()' method</li>
</ul>
<p class="notes" id="credit">
- Documentation generated on Fri, 20 Jul 2007 22:19:01
-0400 by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
+ Documentation generated by <a href="http://www.phpdoc.org&quo
t; target="_blank">phpDocumentor
1.3.2</a>
</p>
</body>
</html>
Modified: incubator/log4php/site/changes-report.html
URL: http://svn.apache.org/viewvc/incubator/log4php/s
ite/changes-report.html?view=diff&rev=558753&r1=5587
52&r2=558753
============================================================
==================
--- incubator/log4php/site/changes-report.html (original)
+++ incubator/log4php/site/changes-report.html Mon Jul 23
07:49:17 2007
 -40,7
+40,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
 -160,7
+160,7 
</div>
<div id="bodyColumn">
<div id="contentBox">
- <h2><a name="Changes
Report"></a>Changes
Report</h2><h3><a name="Release
History"></a>Release
History</h3><table
class="bodyTable"><tr
class="a"><th>Version</th><th>
;Date</th><th>Description</th></tr>&
lt;tr class="b"><td><a
href="#2.0">2.0</a></td><td>2
007-12-31</td><td>Initial
release</td></tr></table><br
/><br /><h3><a
name="2.0"></a>Release 2.0 -
2007-12-31</h3><table
class="bodyTable"><tr
class="a"><th>Type</th><th>Ch
anges</th><th>By</th></tr><tr
class="b"><td><img
src="images/add.gif" alt="add"
/></td><td>Some sample bug report. Fixes
<a href="http://issues.apache.org/jira/browse/LOG
4PHP-1">LOG4PHP-1<img
src="images/external.png"
/></a>.</td><td><a
href="team-list.html#null"></a></td>
;</tr></table>
+ <h2><a name="Changes
Report"></a>Changes
Report</h2><h3><a name="Release
History"></a>Release
History</h3><table
class="bodyTable"><tr
class="a"><th>Version</th><th>
;Date</th><th>Description</th></tr>&
lt;tr class="b"><td><a
href="#2.0">2.0</a></td><td>&
lt;/td><td>PHP 5
compatibility</td></tr></table><br
/><br /><h3><a
name="2.0"></a>Release 2.0 -
null</h3><table
class="bodyTable"><tr
class="a"><th>Type</th><th>Ch
anges</th><th>By</th></tr><tr
class="b"><td><img
src="images/fix.gif" alt="fix"
/></td><td>Maven 2.0
build</td><td><a
href="team-list.html#null"></a></td>
;</tr><tr class="a"><td><img
src="images/fix.gif" alt="fix"
/></td><td>Updated source file headers with
current ASF notice</td><td><a
href="team-list.html#null"></a></td>
;</tr><tr class="b"><td><img
src="images/fix.gif" alt="fix"
/></td><td>PHP compatibility
modification.</td><td><a
href="team-list.html#null"></a></td>
;</tr></table>
</div>
</div>
<div class="clear">
Modified: incubator/log4php/site/contributors.html
URL: http://svn.apache.org/viewvc/incubator/log4php/sit
e/contributors.html?view=diff&rev=558753&r1=558752&a
mp;r2=558753
============================================================
==================
--- incubator/log4php/site/contributors.html (original)
+++ incubator/log4php/site/contributors.html Mon Jul 23
07:49:17 2007
 -43,7
+43,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
Modified: incubator/log4php/site/dependencies.html
URL: http://svn.apache.org/viewvc/incubator/log4php/sit
e/dependencies.html?view=diff&rev=558753&r1=558752&a
mp;r2=558753
============================================================
==================
--- incubator/log4php/site/dependencies.html (original)
+++ incubator/log4php/site/dependencies.html Mon Jul 23
07:49:17 2007
 -40,7
+40,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
Modified: incubator/log4php/site/documentation.html
URL: http://svn.apache.org/viewvc/incubator/log4php/si
te/documentation.html?view=diff&rev=558753&r1=558752
&r2=558753
============================================================
==================
--- incubator/log4php/site/documentation.html (original)
+++ incubator/log4php/site/documentation.html Mon Jul 23
07:49:17 2007
 -43,7
+43,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
Modified: incubator/log4php/site/download.html
URL: http://svn.apache.org/viewvc/incubator/log4php/site/do
wnload.html?view=diff&rev=558753&r1=558752&r2=55
8753
============================================================
==================
--- incubator/log4php/site/download.html (original)
+++ incubator/log4php/site/download.html Mon Jul 23 07:49:17
2007
 -40,7
+40,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
Modified: incubator/log4php/site/index.html
URL: http://svn.apache.org/viewvc/incubator/log4php/site/index
.html?view=diff&rev=558753&r1=558752&r2=558753
a>
============================================================
==================
--- incubator/log4php/site/index.html (original)
+++ incubator/log4php/site/index.html Mon Jul 23 07:49:17
2007
 -40,7
+40,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
 -160,7
+160,7 
</div>
<div id="bodyColumn">
<div id="contentBox">
- <p>log4php is a PHP port of
log4j.</p><p>log4php
supports:</p><ul><li>Configuration through
xml and properties file (same structure as
log4j).</li><li>File, RollingFile, DailyFile,
Echo, Console, Mail, PEAR: b, PHP
error, Syslog or NT events and Socket
appenders.</li><li>Simple, TTCC, Pattern, Html
and Xml Layouts.</li><li>Nested (NDC) and Mapped
(MDC) Diagnostic Contexts. </li><li>Switchable
internal debug.<p>Log4php is an effort undergoing
incubation at the Apache Software Foundation (ASF),
sponsored by the Apache Logging Services project. Incubation
is required of all newly accepted projects until a further
review indicates that the infrastructure, communications,
and decision making process have stabilized in a manner
consistent with other successful ASF projects. While
incubation status is not necessarily a reflection of the
completeness or stability of the code, it does indicate that
the project has yet to be fully endorsed by the ASF.
</p></li></ul>
+ <p>Log4php is logging framework for PHP
undergoing incubation at the Apache Software Foundation
(ASF), sponsored by the Apache Logging Services project.
Incubation is required of all newly accepted projects until
a further review indicates that the infrastructure,
communications, and decision making process have stabilized
in a manner consistent with other successful ASF projects.
While incubation status is not necessarily a reflection of
the completeness or stability of the code, it does indicate
that the project has yet to be fully endorsed by the ASF.
</p><p>log4php
supports:</p><ul><li>Configuration through
xml and properties file (same structure as
log4j).</li><li>File, RollingFile, DailyFile,
Echo, Console, Mail, PEAR: b, PHP
error, Syslog or NT events and Socket
appenders.</li><li>Simple, TTCC, Pattern, Html
and Xml Layouts.</li><li>Nested (NDC) and Mapped
(MDC) Diagnostic Contexts. </li><li>Switchable
internal debug.</li></ul>
</div>
</div>
<div class="clear">
Modified: incubator/log4php/site/issue-tracking.html
URL: http://svn.apache.org/viewvc/incubator/log4php/s
ite/issue-tracking.html?view=diff&rev=558753&r1=5587
52&r2=558753
============================================================
==================
--- incubator/log4php/site/issue-tracking.html (original)
+++ incubator/log4php/site/issue-tracking.html Mon Jul 23
07:49:17 2007
 -40,7
+40,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
Modified: incubator/log4php/site/license.html
URL: http://svn.apache.org/viewvc/incubator/log4php/site/lic
ense.html?view=diff&rev=558753&r1=558752&r2=5587
53
============================================================
==================
--- incubator/log4php/site/license.html (original)
+++ incubator/log4php/site/license.html Mon Jul 23 07:49:17
2007
 -40,7
+40,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
Modified: incubator/log4php/site/mail-lists.html
URL: http://svn.apache.org/viewvc/incubator/log4php/site/
mail-lists.html?view=diff&rev=558753&r1=558752&r
2=558753
============================================================
==================
--- incubator/log4php/site/mail-lists.html (original)
+++ incubator/log4php/site/mail-lists.html Mon Jul 23
07:49:17 2007
 -40,7
+40,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
Modified: incubator/log4php/site/news.html
URL: http://svn.apache.org/viewvc/incubator/log4php/site/news.h
tml?view=diff&rev=558753&r1=558752&r2=558753
============================================================
==================
--- incubator/log4php/site/news.html (original)
+++ incubator/log4php/site/news.html Mon Jul 23 07:49:17
2007
 -43,7
+43,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
Modified: incubator/log4php/site/project-info.html
URL: http://svn.apache.org/viewvc/incubator/log4php/sit
e/project-info.html?view=diff&rev=558753&r1=558752&a
mp;r2=558753
============================================================
==================
--- incubator/log4php/site/project-info.html (original)
+++ incubator/log4php/site/project-info.html Mon Jul 23
07:49:17 2007
 -40,7
+40,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
Modified: incubator/log4php/site/project-reports.html
URL: http://svn.apache.org/viewvc/incubator/log4php/
site/project-reports.html?view=diff&rev=558753&r1=55
8752&r2=558753
============================================================
==================
--- incubator/log4php/site/project-reports.html (original)
+++ incubator/log4php/site/project-reports.html Mon Jul 23
07:49:17 2007
 -40,7
+40,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
Modified: incubator/log4php/site/qsg.html
URL: http://svn.apache.org/viewvc/incubator/log4php/site/qsg.htm
l?view=diff&rev=558753&r1=558752&r2=558753
============================================================
==================
--- incubator/log4php/site/qsg.html (original)
+++ incubator/log4php/site/qsg.html Mon Jul 23 07:49:17
2007
 -43,7
+43,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
Modified: incubator/log4php/site/roadmap.html
URL: http://svn.apache.org/viewvc/incubator/log4php/site/roa
dmap.html?view=diff&rev=558753&r1=558752&r2=5587
53
============================================================
==================
--- incubator/log4php/site/roadmap.html (original)
+++ incubator/log4php/site/roadmap.html Mon Jul 23 07:49:17
2007
 -41,7
+41,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
Modified: incubator/log4php/site/source-repository.html
URL: http://svn.apache.org/viewvc/incubator/log4ph
p/site/source-repository.html?view=diff&rev=558753&r
1=558752&r2=558753
============================================================
==================
--- incubator/log4php/site/source-repository.html
(original)
+++ incubator/log4php/site/source-repository.html Mon Jul 23
07:49:17 2007
 -40,7
+40,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
Modified: incubator/log4php/site/stylesheets/project.html
URL: http://svn.apache.org/viewvc/incubator/log4
php/site/stylesheets/project.html?view=diff&rev=558753&a
mp;r1=558752&r2=558753
============================================================
==================
--- incubator/log4php/site/stylesheets/project.html
(original)
+++ incubator/log4php/site/stylesheets/project.html Mon Jul
23 07:49:17 2007
 -40,7
+40,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
Modified: incubator/log4php/site/usage.html
URL: http://svn.apache.org/viewvc/incubator/log4php/site/usage
.html?view=diff&rev=558753&r1=558752&r2=558753
a>
============================================================
==================
--- incubator/log4php/site/usage.html (original)
+++ incubator/log4php/site/usage.html Mon Jul 23 07:49:17
2007
 -11,16
+11,13 
<html>
<head>
- <title>log4php -
- Log4php Usage Example</title>
+ <title>log4php - Apache log4php usage
example</title>
<style type="text/css"
media="all">
import url("./css/maven-base.css");
import url("./css/maven-theme.css");
import url("./css/site.css");
</style>
<link rel="stylesheet"
href="./css/print.css" type="text/css"
media="print" />
- <meta name="author" content="
- Marco Vassura" />
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1" />
</head>
<body class="composite">
 -43,7
+40,7 
<div class="xleft">
- Last Published: 07/20/2007
+ Last Published: 07/23/2007
|
<a href="http
://www.apache.org/">Apache</a>
>
 -163,145
+160,124 
</div>
<div id="bodyColumn">
<div id="contentBox">
-
+ <div
class="section"><h2>Apache Log4php Usage
Example"></h2><div
class="source"><pre><?php
+/**
+ * This is a log4php usage example file
+ *
+ */
+
+/**
+ * Set LOG4PHP_DIR to Your log4php root dir or it will
+ * be set automatically at the first require_once().
+ * Here 'log4php' is an 'include_path' subdir.
+ */
+define('LOG4PHP_DIR', 'log4php');
+
+/*
+ 1. If you want to use a custom Configurator,
+ set the LOG4PHP_CONFIGURATOR_CLASS constants to
Your Configurator class file.
+ The class name must have the same base name of the
classfile.
+
+ Ex: define('LOG4PHP_CONFIGURATOR_CLASS',
'/my/path/LoggerMyConfigurator');
+
+ Log4php will try to include
'/my/path/LoggerMyConfigurator.php'
+ and instantiate a 'LoggerMyConfigurator' class.
+
+ 2. If you want to use a configuration file that's not
the default,
+ set the LOG4PHP_CONFIGURATION constants to Your
configuration filename.
+
+ Ex: define('LOG4PHP_CONFIGURATION',
'/my/path/my_config.conf');
+
+ Note that if config extension is NOT .xml and
LOG4PHP_CONFIGURATOR_CLASS
+ is not defined, the LoggerPropertyConfigurator will
be used.
+
+ 3. If you want to bypass the initial configuration
procedure, set the
+ 'LOG4PHP_DEFAULT_INIT_OVERRIDE' to true.
+
+ Ex: define('LOG4PHP_DEFAULT_INIT_OVERRIDE',
true);
+*/
+
+require_once(LOG4PHP_DIR. '/LoggerManager.php');
+/*
+ Or You can use:
+
+ require_once('/my/log4php/path/LoggerManager.php');
+
+ and LOG4PHP_DIR will be automatically set to
'/my/log4php/path'.
+*/
+
+class Test {
+
+ var $logger;
+
+ function Test()
+ {
+ $this->logger =&
LoggerManager::getLogger('Test');
+ }
+
+ function testLog()
+ {
+ $this->logger->debug('this is a DEBUG
log generated by Test::testLog() class');
+ $this->logger->info('this is an INFO
log generated by Test::testLog() class');
+ $this->logger->warn('this is a WARN
log generated by Test::testLog() class');
+ $this->logger->error('this is an
ERROR log generated by Test::testLog() class');
+ $this->logger->fatal('this is a FATAL
log generated by Test::testLog() class');
+ }
+}
+
+class TestTest extends Test {
+ var $logger;
+
+ function TestTest()
+ {
+ $this->Test();
+ $this->logger =&
LoggerManager::getLogger('Test.Test');
+ }
+
+ function testLog()
+ {
+ LoggerNDC::push('NDC generated by
TestTest::testLog()');
+
+ $this->logger->debug('this is a DEBUG
log generated by TestTest::testLog() class');
+ $this->logger->info('this is an INFO
log generated by TestTest::testLog() class');
+ $this->logger->warn('this is a WARN
log generated by TestTest::testLog() class');
+ $this>->logger->error('this is
an ERROR log generated by TestTest::testLog() class');
+ $this->logger->fatal('this is a FATAL
log generated by TestTest::testLog() class');
+
+ LoggerNDC::pop();
+ }
+}
+
+function Bar()
+{
+ $logger =& LoggerManager::getLogger('bar');
+
+ /*
+ note that the message here is an array
+ */
- <meta name="keywords" content="php,
java, logging, tracing, component, framework, API,
log4php"></meta>
-
- <a name="Log4php Usage
Example"></a><div
class="section"><h2>Log4php Usage
Example</h2>
- <code><font
color="#000000">
- <font
color="#0000BB">&lt;?php
- <br />
- <br
/></font><font
color="#FF8000">/**
- <br /> * This is a
log4php usage example file
- <br /> *
- <br /> * version
$Revision: 312325 $
- <br /> * author
Marco V. &lt;marco apache.org&gt;
- <br /> */
- <br />
- <br />/**
- <br /> * Set LOG4PHP_DIR
to Your log4php root dir or it will
- <br /> * be set
automatically at the first require_once().
- <br /> * Here 'log4php'
is an 'include_path' subdir.
- <br /> */
- <br
/></font><font
color="#0000BB">define</font
><font
color="#007700">(</font&
gt;<font
color="#DD0000">'LOG4PHP_DIR'&l
t;/font><font
color="#007700">,
</font><font
color="#DD0000">'log4php'</f
ont><font
color="#007700">);
- <br />
- <br
/></font><font
color="#FF8000">/*
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;1.&nbsp;&nbsp;If you want to use a
custom Configurator,
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;set the LOG4PHP_CONFIGURATOR_CLASS constants to Your
Configurator class file.
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;The class name must have the same base name of the
classfile.
- <br />
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;Ex: define('LOG4PHP_CONFIGURATOR_CLASS',
'/my/path/LoggerMyConfigurator');
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;Log4php will try to include
'/my/path/LoggerMyConfigurator.php'
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;and instantiate a 'LoggerMyConfigurator' class.
- <br />
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;2.&nbsp;&nbsp;If you want to use a
configuration file that's not the default,
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;set the LOG4PHP_CONFIGURATION constants to Your
configuration filename.
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;Ex: define('LOG4PHP_CONFIGURATION',
'/my/path/my_config.conf');
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;Note that if config extension is NOT .xml and
LOG4PHP_CONFIGURATOR_CLASS
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;is not defined, the LoggerPropertyConfigurator will be
used.&nbsp;&nbsp;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;3.&nbsp;&nbsp;If you want to bypass the
initial configuration procedure, set the
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;'LOG4PHP_DEFAULT_INIT_OVERRIDE' to true.
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;Ex: define('LOG4PHP_DEFAULT_INIT_OVERRIDE', true);
- <br />*/
- <br />
- <br />
- <br
/></font><font
color="#007700">require_once(&l
t;/font><font
color="#0000BB">LOG4PHP_DIR
</font><font
color="#007700">.
</font><font
color="#DD0000">'/LoggerManager.php
'</font><font
color="#007700">);
- <br
/></font><font
color="#FF8000">/*
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;Or You can use:
- <br
/>&nbsp;&nbsp;&nbsp;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;require_once('/my/log4php/path/LoggerManager.php');
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;and LOG4PHP_DIR will be automatically set to
'/my/log4php/path'.
- <br />*/
- <br />
- <br />
- <br
/></font><font
color="#007700">class
</font><font
color="#0000BB">Test
</font><font
color="#007700">{
- <br />
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;var </font><font
color="#0000BB">$logger</fon
t><font
color="#007700">;
- <br />
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;function </font><font
color="#0000BB">Test</font&a
mp;gt;<font
color="#007700">()
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;{
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;</font><font
color="#0000BB">$this</font&
amp;gt;<font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">logger
</font><font
color="#007700">=&amp;
</font><font
color="#0000BB">LoggerManager&l
t;/font><font
color="#007700">::</font&
;gt;<font
color="#0000BB">getLogger</f
ont><font
color="#007700">(</font&
gt;<font
color="#DD0000">'Test'</font
><font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;}
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;function </font><font
color="#0000BB">testLog</fon
t><font
color="#007700">()
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;{
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;</font><font
color="#0000BB">$this</font&
amp;gt;<font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">logger</font
><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">debug</font&
amp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is a DEBUG
log generated by Test::testLog()
class'</font><font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;</font><font
color="#0000BB">$this</font&
amp;gt;<font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">logger</font
><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">info</font&a
mp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is an INFO
log generated by Test::testLog()
class'</font><font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;</font><font
color="#0000BB">$this</font&
amp;gt;<font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">logger</font
><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">warn</font&a
mp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is a WARN log
generated by Test::testLog()
class'</font><font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;</font><font
color="#0000BB">$this</font&
amp;gt;<font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">logger</font
><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">error</font&
amp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is an ERROR
log generated by Test::testLog()
class'</font><font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;</font><font
color="#0000BB">$this</font&
amp;gt;<font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">logger</font
><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">fatal</font&
amp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is a FATAL
log generated by Test::testLog()
class'</font><font
color="#007700">);&nbsp;&am
p;amp;nbsp;&nbsp;&nbsp;&nbsp;&am
p;nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;&
amp;amp;nbsp;&nbsp;&nbsp;&nbsp;&
amp;nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;&nbsp;&nbsp;&nbsp;&nbsp;&am
p;amp;nbsp;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;}
- <br />
- <br />}
- <br />
- <br />class
</font><font
color="#0000BB">TestTest
</font><font
color="#007700">extends
</font><font
color="#0000BB">test
</font><font
color="#007700">{
- <br />
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;var </font><font
color="#0000BB">$logger</fon
t><font
color="#007700">;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;function </font><font
color="#0000BB">TestTest</fo
nt><font
color="#007700">()
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;{
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;</font><font
color="#0000BB">$this</font&
amp;gt;<font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">Test</font&a
mp;gt;<font
color="#007700">();&nbsp;&a
mp;amp;nbsp;&nbsp;&nbsp;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;</font><font
color="#0000BB">$this</font&
amp;gt;<font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">logger
</font><font
color="#007700">=&amp;
</font><font
color="#0000BB">LoggerManager&l
t;/font><font
color="#007700">::</font&
;gt;<font
color="#0000BB">getLogger</f
ont><font
color="#007700">(</font&
gt;<font
color="#DD0000">'Test.Test'<
/font><font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;}
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;function </font><font
color="#0000BB">testLog</fon
t><font
color="#007700">()
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;{
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;</font><font
color="#0000BB">LoggerNDC</f
ont><font
color="#007700">::</font&
;gt;<font
color="#0000BB">push</font&a
mp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'NDC generated by
TestTest::testLog()'</font><font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;</font><font
color="#0000BB">$this</font&
amp;gt;<font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">logger</font
><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">debug</font&
amp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is a DEBUG
log generated by TestTest::testLog()
class'</font><font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;</font><font
color="#0000BB">$this</font&
amp;gt;<font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">logger</font
><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">info</font&a
mp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is an INFO
log generated by TestTest::testLog()
class'</font><font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;</font><font
color="#0000BB">$this</font&
amp;gt;<font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">logger</font
><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">warn</font&a
mp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is a WARN log
generated by TestTest::testLog()
class'</font><font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;</font><font
color="#0000BB">$this</font&
amp;gt;<font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">logger</font
><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">error</font&
amp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is an ERROR
log generated by TestTest::testLog()
class'</font><font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;</font><font
color="#0000BB">$this</font&
amp;gt;<font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">logger</font
><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">fatal</font&
amp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is a FATAL
log generated by TestTest::testLog()
class'</font><font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;</font><font
color="#0000BB">LoggerNDC</f
ont><font
color="#007700">::</font&
;gt;<font
color="#0000BB">pop</font&am
p;gt;<font
color="#007700">();&nbsp;&a
mp;amp;nbsp;&nbsp;&nbsp;&nbsp;&a
mp;nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&
;amp;nbsp;&nbsp;&nbsp;&nbsp;&
;nbsp;&nbsp;&nbsp;&nbsp;&nbs
p;&nbsp;&nbsp;&nbsp;&nbsp;&a
mp;amp;nbsp;
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;}
- <br />
- <br />}
- <br />
- <br />function
</font><font
color="#0000BB">Bar</font&am
p;gt;<font
color="#007700">()
- <br />{
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;</font><font
color="#0000BB">$logger
</font><font
color="#007700">=&amp;
</font><font
color="#0000BB">LoggerManager&l
t;/font><font
color="#007700">::</font&
;gt;<font
color="#0000BB">getLogger</f
ont><font
color="#007700">(</font&
gt;<font
color="#DD0000">'bar'</font&
amp;gt;<font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;</font><font
color="#FF8000">/*
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;note that the message here is an array
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;*/
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;</font><font
color="#0000BB">$logger</fon
t><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">debug</font&
amp;gt;<font
color="#007700">(array(</fon
t><font
color="#DD0000">'one'</font&
amp;gt;<font
color="#007700">,
</font><font
color="#DD0000">'two'</font&
amp;gt;<font
color="#007700">,
</font><font
color="#DD0000">'tree'</font
><font
color="#007700">));
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;</font><font
color="#0000BB">$logger</fon
t><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">info</font&a
mp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is an INFO
log generated by Bar()
function'</font><font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;</font><font
color="#0000BB">$logger</fon
t><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">warn</font&a
mp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is a WARN log
generated by Bar()
function'</font><font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;</font><font
color="#0000BB">$logger</fon
t><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">error</font&
amp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is an ERROR
log generated by Bar()
function'</font><font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;</font><font
color="#0000BB">$logger</fon
t><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">fatal</font&
amp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is a FATAL
log generated by Bar()
function'</font><font
color="#007700">);
- <br
/>&nbsp;&nbsp;&nbsp;&
nbsp;
- <br />}
- <br />
- <br
/></font><font
color="#0000BB">$logger
</font><font
color="#007700">=&amp;
</font><font
color="#0000BB">LoggerManager&l
t;/font><font
color="#007700">::</font&
;gt;<font
color="#0000BB">getLogger</f
ont><font
color="#007700">(</font&
gt;<font
color="#DD0000">'main'</font
><font
color="#007700">);
- <br />
- <br
/></font><font
color="#0000BB">$logger</fon
t><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">debug</font&
amp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is a DEBUG
log generated by main()
function'</font><font
color="#007700">);
- <br
/></font><font
color="#0000BB">$logger</fon
t><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">info</font&a
mp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is an INFO
log generated by main()
function'</font><font
color="#007700">);
- <br
/></font><font
color="#0000BB">$logger</fon
t><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">warn</font&a
mp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is a WARN log
generated by main()
function'</font><font
color="#007700">);
- <br
/></font><font
color="#0000BB">$logger</fon
t><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">error</font&
amp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is an ERROR
log generated by main()
function'</font><font
color="#007700">);
- <br
/></font><font
color="#0000BB">$logger</fon
t><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">fatal</font&
amp;gt;<font
color="#007700">(</font&
gt;<font
color="#DD0000">'this is a FATAL
log generated by main()
function'</font><font
color="#007700">);&nbsp;&am
p;amp;nbsp;&nbsp;&nbsp;&nbsp;&am
p;nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;&
amp;amp;nbsp;&nbsp;&nbsp;&nbsp;&
amp;nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;&nbsp;&nbsp;&nbsp;&nbsp;&am
p;amp;nbsp;
- <br />
- <br />
- <br
/></font><font
color="#0000BB">$test
</font><font
color="#007700">= new
</font><font
color="#0000BB">Test</font&a
mp;gt;<font
color="#007700">();
- <br
/></font><font
color="#0000BB">$test</font&
amp;gt;<font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">testLog</fon
t><font
color="#007700">();
- <br />
- <br
/></font><font
color="#0000BB">$testTest
</font><font
color="#007700">= new
</font><font
color="#0000BB">TestTest</fo
nt><font
color="#007700">();
- <br
/></font><font
color="#0000BB">$testTest</f
ont><font
color="#007700">-&gt;&l
t;/font><font
color="#0000BB">testLog</fon
t><font
color="#007700">();
- <br />
- <br
/></font><font
color="#0000BB">Bar</font&am
p;gt;<font
color="#007700">();
- <br />
- <br
/></font><font
color="#0000BB">?&gt;&l
t;/font>
- </font>
- </code>
- </div>
-
-
+ $logger->debug(array('one', 'two', 'tree'));
+ $logger->info('this is an INFO log generated by
Bar() function');
+ $logger->warn('this is a WARN log generated by
Bar() function');
+ $logger->error('this is an ERROR log generated
by Bar() function');
+ $logger->fatal('this is a FATAL log generated by
Bar() function');
+}
+
+$logger =& LoggerManager::getLogger('main');
+$logger->debug('this is a DEBUG log generated by
main() function');
+$logger->info('this is an INFO log generated by
main() function');
+$logger->warn('this is a WARN log generated by
main() function');
+$logger->error('this is an ERROR log generated by
main() function');
+$logger->fatal('this is a FATAL log generated by
main() function')
+
+$test = new Test();
+$test->testLog();
+
+$testTest = new TestTest();
+$testTest->testLog();
+
+Bar();
+?></pre></div></div>
</div>
</div>
<div class="clear">
|