コード例 #1
0
  public static synchronized void dprint(java.lang.Object caller, String msg, Throwable t) {
    System.out.println(
        compressClassName(caller.getClass().getName())
            + '('
            + Thread.currentThread()
            + "): "
            + msg);

    if (t != null) printStackTrace(t.getStackTrace());
  }
コード例 #2
0
  public static synchronized void dprintTrace(Object obj, String msg) {
    ORBUtility.dprint(obj, msg);

    Throwable thr = new Throwable();
    printStackTrace(thr.getStackTrace());
  }