code: public <E extends LogEntry> void writeTrace(LogTrace<E> logTrace) throws PerspectiveException, IOException{
  		if(logPerspective == LogPerspective.ACTIVITY_PERSPECTIVE)
  			throw new PerspectiveException(PerspectiveError.WRITE_TRACE_IN_ACTIVITY_PERSPECTIVE);
  		
  		prepare();
  		if(!headerWritten){
  			write(logFormat.getFileHeader());
  			headerWritten = true;
  		}
  		output.write(logFormat.getTraceAsString(logTrace));
  	}
docs: This method is only allowed in the trace perspective.
  @param <E>
  @param logTrace The log trace to write.
  @throws PerspectiveException
  @throws IOException