|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmarquee.xmlrpc.util.Log.DefaultLogBackEnd
public static class Log.DefaultLogBackEnd
The default back end sends information to the console. It may include time, thread and exception information. This has to be switched on at compilation time, though.
Field Summary | |
---|---|
static boolean |
LOG_FILE
Shall we extract file name information from exceptions? |
static boolean |
LOG_THREAD
Shall we log the calling thread name? |
static boolean |
LOG_TIME
Shall we log the time? |
Constructor Summary | |
---|---|
Log.DefaultLogBackEnd()
|
Method Summary | |
---|---|
void |
append(java.lang.String type,
java.lang.String message)
Appends a message, according to the LogBackEnd interface. |
void |
append(java.lang.String type,
java.lang.Throwable t)
Appends an exception message which potentially includes information as to what file and line number the exception occurred at. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean LOG_TIME
public static final boolean LOG_THREAD
public static final boolean LOG_FILE
Constructor Detail |
---|
public Log.DefaultLogBackEnd()
Method Detail |
---|
public void append(java.lang.String type, java.lang.String message)
append
in interface LogBackEnd
public void append(java.lang.String type, java.lang.Throwable t)
append
in interface LogBackEnd
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |