public function setLog($errorMsg,$trace, $state = true)
	{

		$this->setErrorState($state);
		$this->setTrace($trace);
		$this->setMessage($errorMsg);
		$this->setCritical($state);
	}
public function setLog($errorMsg,$trace, $state = true)
	{

		$this->setErrorState($state);
		$this->setTrace($trace);
		$this->setMessage($errorMsg);
		$this->setCritical($state);
	}
public function setLog ( $ errorMsg , $ trace , $ state = true ) { $ this -> setErrorState ( $ state ) ; $ this -> setTrace ( $ trace ) ; $ this -> setMessage ( $ errorMsg ) ; $ this -> setCritical ( $ state ) ; }
set error state of object. we can have an error but still proceed

@var string $errorMsg error message
@var array $trace statck trace
@var boolean $state if critical or not
set error state of object . we can have an error but still proceed