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;
		}
	}
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;
		}
	}
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 ; } }
Write an entry to the calculation engine debug log
Write an entry to the calculation engine debug log