error() public method

logs error message
public error ( string $message, string $logGroup = null )
$message string
$logGroup string
コード例 #1
0
 public function error($msg) {
 	if($this->logger != null) {
 		$this->logger->error(msg);
 	}
 }
コード例 #2
0
 protected function logError($importObject, array $row, Gpf_Exception $e)
 {
     $this->logger->error($this->_sys('Could not import %s from %s on line %s. Throw exception: %s', $importObject, $this->file->getFileName(), implode($this->delimiter, $row), $e->getMessage()));
 }