@Override public synchronized String format(LogRecord record){
  StringBuffer sb=new StringBuffer();
  String[] array=parseLogRecord(record);
  String type=array[0];
  String text=array[1];
  addTimeStamp(record,sb);
  addClassName(record,sb);
  addTypeName(record,sb,type);
  addMethodName(record,sb);
  addText(record,sb,text);
  addThrown(record,sb);
  return sb.toString();
}

@ Override public synchronized String format ( LogRecord record ) { StringBuffer sb = new StringBuffer ( ) ; String [ ] array = parseLogRecord ( record ) ; String type = array [ 0 ] ; String text = array [ 1 ] ; addTimeStamp ( record , sb ) ; addClassName ( record , sb ) ; addTypeName ( record , sb , type ) ; addMethodName ( record , sb ) ; addText ( record , sb , text ) ; addThrown ( record , sb ) ; return sb . toString ( ) ; }
format the given logrecord .
