|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xbus.base.core.trace.Formatter
public class Formatter
The Formatter ensures, that every line in the trace-protocol
has an equal format.
| Constructor Summary | |
|---|---|
Formatter()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
format(java.lang.String message,
int priority)
Formats a trace-line: Timestamp | Priority | Threadname | Message |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Formatter()
| Method Detail |
|---|
public static java.lang.String format(java.lang.String message,
int priority)
throws XException
Timestamp | Priority | Threadname | Message
message - the message to be tracedpriority - the priority after which the messages should be traced
XException - if any error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||