package gov.va.med.cds.util;
//import org.apache.log4j.PatternLayout;

/**
 * This class defines the Header to be written to Performance Log's Rolling File Appender.
 * 
 * @author DNS   shellb
 *
 */
public class PerformanceLogPatternLayout //extends PatternLayout 
{
	public static final String HEADER_TEXT="time (yyyy-MM-dd HH:mm:ss.000),keyword(s), domain entry point, template id, request id, site id, start time (ms), finish time (ms), duration (s), status, tier"+ System.getProperty("line.separator");
	
	/**
	 * returns a header line as follows:<p>
	 * <code>
	 * time (yyyy-MM-dd HH:mm:ss.000),keyword(s), domain entry point, template id, request id, site id, filter id, start time (ms), finish time (ms), duration (s), status, tier
	 * </code> 
	 * <p>
	 * Note that the time format includes milliseconds that conform to the microsoft excel milliseconds time format.  
	 */	
	//@Override
	public String getHeader() 
	{
		return HEADER_TEXT;   
	}

}