ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:logging

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
v5:reference:logging [2020/01/01 03:11]
mnewnham
v5:reference:logging [2020/01/01 04:53] (current)
mnewnham [Developer Considerations]
Line 204: Line 204:
         $obj->​errorNo = $this->​_errorCode;​         $obj->​errorNo = $this->​_errorCode;​
         $obj->​errorMsg = $this->​_errorMsg;​         $obj->​errorMsg = $this->​_errorMsg;​
-        $obj->​metaErrorNo = $this->​errorMsg($obj->​errorNo);​ 
-        $obj->​meta 
-        $obj->​errorLevel = LOG_ERR; 
         ​         ​
 +        $obj->​metaErrorNo = $this->​errorMsg($obj->​errorNo);​
 +        $obj->​metaErrorMessage = $this->​metaErrorMsg($obj->​metaErrorNo);​
 +        $obj->​backTrace ​       = _adodb_backtrace(true,​9999,​2,​false);​
 +        $obj->​errorLevel ​      = LOG_ERR;
 +                 
  ADOConnection::​outp($obj);​  ADOConnection::​outp($obj);​
  return false;  return false;
 +    }
 } }
 </​code>​ </​code>​
v5/reference/logging.txt ยท Last modified: 2020/01/01 04:53 by mnewnham