code: public StringBuilder createStringBuilder(Request request, Response response, Long duration)
  	{
  	    StringBuilder builder = new StringBuilder();
  		builder.append("Time=" + ((DateFormat) DATE_FORMAT.clone()).format(new Date()));
  		builder.append(" RequestTime=" + duration);
  		builder.append(" URL=" + request.getUrl());
  		builder.append(" Method=" + request.getHttpMethod().name());
  		builder.append(" Format=" + request.getFormat());
  		
  		if (request.getResolvedRoute() != null)
  		{
  			builder.append(" Resource=" + request.getResolvedRoute().getFullPattern());
  		}
  
  		if (machineName != null)
  		{
  			builder.append(" Machine=" + machineName);
  		}
  
  		builder.append(" CorrelationId=" + request.getCorrelationId());
  		builder.append(" Status=" + response.getResponseStatus().code());
  
  		if (request.getHeader("User-Agent") != null)
  		{
  			builder.append(" UserAgent=" + request.getHeader("User-Agent"));
  		}
  
  		if (request.getHeader("Referer") != null)
  		{
  			builder.append(" UrlReferer=" + request.getHeader("Referer"));
  		}
  		
  		return builder;
  	}
docs: Creates a pre-populated StringBuilder instance.  The output contains the following:
  "Time=<now> RequestTime=<duration> URL=<request URL> Method=<http method> Format=<requested format e.g. 'json'> Resource=<route pattern> Machine=<machineName> CorrelationId=<request correlation id> Status=<http status> User-Agent=<user agent string> Referrer=<referrer http header>"
  <p/>
  However, if jvmId, User-Agent, or Referer are null, they are not included in the output.  The CorrelationId
  value is the RestExpress Request correlation id, which is unique within a single JVM.
  
  @param request a RestExpress Request instance.
  @param response a RestExpress Response instance.
  @param duration the duration of the request, in milliseconds.
  @return a pre-populated StringBuilder.