public String toString() {
 StringBuffer sb = new StringBuffer(super.toString());
 sb.append("\n---level     ").append(levelName);
 sb.append("\n---method    ").append(meth);
 sb.append("\n---thread    ").append(thread);
 if (frisbee != null)
     sb.append("\n---throwable ").append(frisbee);
 if (msg != null)
     sb.append("\n---msg       ").append(msg);
 return sb.toString();
    }


These "\n" things don't come out right on a Windows machine.
I'm listening to Trace events and logging them to a file, and the "\n"
doesn't come out as a newLine in Windows.
Shouldn't this be using System.getProperty("line.separator")?

That would be convenient.

Tom




---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to