public String toString(){
  String string=caller;
  if (level > 0 || thread != -1) {
    string+="[";
  }
  if (level > 0) {
    string+=level;
  }
  if (thread != -1) {
    string+="," + thread;
  }
  if (level > 0 || thread != -1) {
    string+="]";
  }
  string+=":";
  if (spawnMessage) {
    string+=">";
  }
  if (answer.length() > 0) {
    string+=answer + "=";
  }
  if (callee.length() > 0) {
    string+=callee + ".";
  }
  string+=message;
  if (returnsInstantly) {
    string+="&";
  }
  return string;
}

public String toString ( ) { String string = caller ; if ( level > 0 || thread != - 1 ) { string += "[" ; } if ( level > 0 ) { string += level ; } if ( thread != - 1 ) { string += "," + thread ; } if ( level > 0 || thread != - 1 ) { string += "]" ; } string += ":" ; if ( spawnMessage ) { string += ">" ; } if ( answer . length ( ) > 0 ) { string += answer + "=" ; } if ( callee . length ( ) > 0 ) { string += callee + "." ; } string += message ; if ( returnsInstantly ) { string += "&" ; } return string ; }
returns a string representation of the message data . todo : broadcasts , ( answer ) note number , escaping
