public void log(final String id){
  if (id.contains(" ")) {
    throw new IllegalArgumentException(id);
  }
  final StringBuilder sb=new StringBuilder();
  localToString(sb,id);
  Diagnostic.developerLog(sb.toString());
}

public void log ( final String id ) { if ( id . contains ( " " ) ) { throw new IllegalArgumentException ( id ) ; } final StringBuilder sb = new StringBuilder ( ) ; localToString ( sb , id ) ; Diagnostic . developerLog ( sb . toString ( ) ) ; }
write the accumulated time and average time to the log .
