Location: PHPKode > scripts > DLog > dlog/dlog_test2.php
<h1>DLog Test2</h1>


class dlog2 extends dlog
// This class shows how add parameter to log message
function ExtraParam()
// In the base class I don't define any extra parameter.
$Param=array('MyParameter' => 'MyValue');
 * Module with mssql support
 * require_once('dlog_mssql.php');

$log=new dlog2();

// Call the log function directly.
// First case, log an user info without any error
$log->Log(DLOG_USER_INFO,'Info 1',__FILE__,__LINE__);


Return current item: DLog