/**
  * Write the entryItem to the Log. The entryItem is written to the Log
  * using the format type and priority type explicitly set by the
  * application or the implementation default.
  * 
  * @param object mixed $entryItem (original type: java.io.Serializable)
  * 
  * @throws object LoggingException An exception with one of the
  *		   following messages defined in org.osid.logging.LoggingException
  *		   may be thrown:	{@link
  *		   org.osid.logging.LoggingException#UNIMPLEMENTED UNIMPLEMENTED},
  *		   {@link org.osid.logging.LoggingException#OPERATION_FAILED
  *		   OPERATION_FAILED}, {@link
  *		   org.osid.logging.LoggingException#CONFIGURATION_ERROR
  *		   CONFIGURATION_ERROR}, {@link
  *		   org.osid.logging.LoggingException#PERMISSION_DENIED
  *		   PERMISSION_DENIED}, {@link
  *		   org.osid.logging.LoggingException#PRIORITY_TYPE_NOT_SET
  *		   PRIORITY_TYPE_NOT_SET}, {@link
  *		   org.osid.logging.LoggingException#FORMAT_TYPE_NOT_SET
  *		   FORMAT_TYPE_NOT_SET}, {@link
  *		   org.osid.logging.LoggingException#NULL_ARGUMENT NULL_ARGUMENT}
  * 
  * @access public
  */
 function appendLog($entryItem)
 {
     if (!$entryItem) {
         throwError(new Error(LoggingException::NULL_ARGUMENT(), "HarmoniWritableLog"));
     }
     if (!isset($this->_formatType)) {
         throwError(new Error(LoggingException::FORMAT_TYPE_NOT_SET(), "HarmoniWritableLog"));
     }
     if (!isset($this->_priorityType)) {
         throwError(new Error(LoggingException::PRIORITY_TYPE_NOT_SET(), "HarmoniWritableLog"));
     }
     $this->appendLogWithTypes($entryItem, $this->_formatType, $this->_priorityType);
 }