_writeDebugLog = $pValue; } public function getWriteDebugLog() { return $this->_writeDebugLog; } public function setEchoDebugLog($pValue = FALSE) { $this->_echoDebugLog = $pValue; } public function getEchoDebugLog() { return $this->_echoDebugLog; } public function writeDebugLog(array $cellReferencePath) { // Only write the debug log if logging is enabled if ($this->_writeDebugLog) { $message = func_get_args(); array_shift($message); $cellReference = implode(' -> ', $cellReferencePath); $message = implode($message); if ($this->_echoDebugLog) { echo $cellReference, (count($cellReferencePath) > 0 ? ' => ' : ''), $message,PHP_EOL; } $this->_debugLog[] = $cellReference . (count($cellReferencePath) > 0 ? ' => ' : '') . $message; } } // function _writeDebug() public function clearLog() { $this->_debugLog = array(); } // function flushLogger() public function getLog() { return $this->_debugLog; } // function flushLogger() } // class PHPExcel_Calculation_Logger