code: private void setLogFormat(AbstractLogFormat logFormat) throws PerspectiveException, CompatibilityException{
  		if(!logFormat.supportsCharset(charset))
  			throw new CompatibilityException("Log format \""+logFormat.getName()+"\" does not support charset \""+charset.name()+"\"");
  		if(!logFormat.supportsLogPerspective(logPerspective))
  			throw new PerspectiveException(PerspectiveError.INCOMPATIBLE_LOGFORMAT);
  		this.logFormat = logFormat;
  	}
docs: Sets the log format for writing process traces (e.g. MXML).
  @param logFormat The log format to set.
  @throws PerspectiveException if the log format does not support the writers' log perspective.
  @throws CompatibilityException if the charset of the log writer is not supported by the log format.