public static void log(String msg,Object... args){
  StringBuffer sb=new StringBuffer();
  sb.append(MessageFormat.format("[{0,number,#}] ",System.currentTimeMillis()));
  sb.append(MessageFormat.format(msg,args));
  doLog(sb.toString());
}

public static void log ( String msg , Object ... args ) { StringBuffer sb = new StringBuffer ( ) ; sb . append ( MessageFormat . format ( "[{0,number,#}] " , System . currentTimeMillis ( ) ) ) ; sb . append ( MessageFormat . format ( msg , args ) ) ; doLog ( sb . toString ( ) ) ; }
stores the message in the circular buffer .
