Hello, Can someone tell me what is wrong here please?
--
define('BASE_PEAR_DSN','mysql://root:[EMAIL PROTECTED]/db');
if(is_includeable('Log.php')) {
require_once('Log.php');
$logConfig = array('dsn' => BASE_PEAR_DSN);
$logger = &Log::singleton('mdb2', 'log_table', 'System',
$logConfig);
if (PEAR::isError($logger)) {
die($logger->getMessage());
}
$logger->log('logging an event' . PEAR_LOG_DEBUG);
}
--
I can't see anything in log_table and i don't know what is wrong here.
Many thanks,
smime.p7s
Description: S/MIME Cryptographic Signature

