芝麻web文件管理V1.00
编辑当前文件:/home/krishnamexports/public_html/panel/excel/Classes/PHPExcel/CalcEngine/Logger.php
_cellStack = $stack; } /** * Enable/Disable Calculation engine logging * * @param boolean $pValue */ public function setWriteDebugLog($pValue = FALSE) { $this->_writeDebugLog = $pValue; } /** * Return whether calculation engine logging is enabled or disabled * * @return boolean */ public function getWriteDebugLog() { return $this->_writeDebugLog; } /** * Enable/Disable echoing of debug log information * * @param boolean $pValue */ public function setEchoDebugLog($pValue = FALSE) { $this->_echoDebugLog = $pValue; } /** * Return whether echoing of debug log information is enabled or disabled * * @return boolean */ public function getEchoDebugLog() { return $this->_echoDebugLog; } /** * Write an entry to the calculation engine debug log */ public function writeDebugLog() { // Only write the debug log if logging is enabled if ($this->_writeDebugLog) { $message = implode(func_get_args()); $cellReference = implode(' -> ', $this->_cellStack->showStack()); if ($this->_echoDebugLog) { echo $cellReference, ($this->_cellStack->count() > 0 ? ' => ' : ''), $message, PHP_EOL; } $this->_debugLog[] = $cellReference . ($this->_cellStack->count() > 0 ? ' => ' : '') . $message; } } // function _writeDebug() /** * Clear the calculation engine debug log */ public function clearLog() { $this->_debugLog = array(); } // function flushLogger() /** * Return the calculation engine debug log * * @return string[] */ public function getLog() { return $this->_debugLog; } // function flushLogger() } // class PHPExcel_CalcEngine_Logger