public static void p(String txt,int level,boolean timestamp){
  String time="";
  int simTime=SimClock.getIntTime();
  if (level < debugLevel) {
    return;
  }
  if (timestamp) {
    time="[@" + simTime + "]";
  }
  out.println("D" + time + ": "+ txt);
}

public static void p ( String txt , int level , boolean timestamp ) { String time = "" ; int simTime = SimClock . getIntTime ( ) ; if ( level < debugLevel ) { return ; } if ( timestamp ) { time = "[@" + simTime + "]" ; } out . println ( "D" + time + ": " + txt ) ; }
print text to debug output .
