cvs: pear /Log/docs/examples null.php
| From: | Jon Parise | Date: | Fri, 02 Jan 2004 00:31:34 +0000 |
| Subject: | cvs: pear /Log/docs/examples null.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-15257@lists.php.net to get a copy of this message | ||
jon Thu Jan 1 19:31:34 2004 EDT
Added files:
/pear/Log/docs/examples null.php
Log:
Adding a simple example for the 'null' handler.
Index: pear/Log/docs/examples/null.php
+++ pear/Log/docs/examples/null.php
<?php
require_once 'Log.php';
$logger = &Log::singleton('null');
for ($i = 0; $i < 10; $i++) {
$logger->log("Log entry $i");
}