29 $this->_iDebug = (int) $iDebug;
41 $this->_iDebug = $iDebug;
53 $this->_sFileName = $sFile;
81 $oEx->setLogFileName( $this->_sFileName );
100 if ( defined(
'OXID_PHP_UNIT' ) ) {
102 } elseif ( 0 != $this->_iDebug ) {
122 if ( 0 != $this->_iDebug ) {
123 $sLogMsg = date(
'Y-m-d H:i:s' ) . $oEx .
"\n---------------------------------------------\n";
125 if ( defined(
'OXID_PHP_UNIT' ) ) {
127 } elseif ( 0 != $this->_iDebug ) {
150 public function __call( $sMethod, $aArgs )
152 if ( defined(
'OXID_PHP_UNIT' ) ) {
153 if ( substr( $sMethod, 0, 4) ==
"UNIT") {
154 $sMethod = str_replace(
"UNIT",
"_", $sMethod);
156 if ( method_exists( $this, $sMethod)) {
157 return call_user_func_array( array( & $this, $sMethod), $aArgs );