public String format(LogRecord rec) {
		  
		if( millisecStart == 0 ) {
			
			millisecStart = rec.getMillis();
			
		}
		
		ThreadIDLogRecord idRec = (ThreadIDLogRecord)rec;
						  
	    StringBuffer buf = new StringBuffer( 1000  );
	    // Bold any levels >= WARNING
	    buf.append( "<div style=\"position: absolute; top: " + calculateYPosition(rec) + ";" +
	                                                 "left: " + ( ( idRec.columnNum * 300 ) + XOffset ) + "\">\n" );
	    
	    //<div style="position: absolute; top: 648;width:100%;height:1px;background-color:#CCCCCC;">


	    /*if (rec.getLevel().intValue() >= Level.WARNING.intValue()) {
	    	
	      buf.append( "<b>" );
	      buf.append( rec.getLevel() );
	      buf.append( "</b>" );)
	      
	    } else {
	      buf.append( rec.getLevel() );
	    }
	    
	    buf.append( " " + calcDate(rec.getMillis()) );*/
	    
	    buf.append( formatMessage(rec) );
	    
	    buf.append("</div>\n");
	    
	    buf.append( "<div class=\"seconds-ruler\" style=\"position: absolute; top: " + ( calculateYPosition(rec) + 18 ) + ";width:4000px;height:1px;background-color:#CCCCCC;\">\n" );
	    buf.append( ( rec.getMillis() - millisecStart ) + "ms" );
	    buf.append("</div>\n");

	    
	    return buf.toString();
	    
	  }