77 $this->_cellStack = $stack;
86 $this->_writeDebugLog = $pValue;
104 $this->_echoDebugLog = $pValue;
121 if ($this->_writeDebugLog) {
122 $message = implode(func_get_args());
123 $cellReference = implode(
' -> ', $this->_cellStack->showStack());
124 if ($this->_echoDebugLog) {
126 ($this->_cellStack->count() > 0 ?
' => ' :
''),
130 $this->_debugLog[] = $cellReference .
131 ($this->_cellStack->count() > 0 ?
' => ' :
'') .
140 $this->_debugLog = array();
An exception for terminatinating execution or to throw for unit testing.
setEchoDebugLog($pValue=FALSE)
Enable/Disable echoing of debug log information.
getWriteDebugLog()
Return whether calculation engine logging is enabled or disabled.
clearLog()
Clear the calculation engine debug log.
setWriteDebugLog($pValue=FALSE)
Enable/Disable Calculation engine logging.
__construct(PHPExcel_CalcEngine_CyclicReferenceStack $stack)
Instantiate a Calculation engine logger.
getEchoDebugLog()
Return whether echoing of debug log information is enabled or disabled.
getLog()
Return the calculation engine debug log.
writeDebugLog()
Write an entry to the calculation engine debug log.
catch(Exception $e) $message