|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Field Summary | |
static int |
DEBUG
|
static int |
ERROR
|
static int |
FATAL
|
static int |
INFO
|
static String |
sABOUT
|
static int |
WARN
|
| Method Summary | |
void |
clearLog()
|
void |
debug(String message)
to write debugging messages which should not be printed when the application is in production. |
void |
error(String message)
for application error messages which are also logged to some log but, still, the application can hobble along. |
void |
fatal(String message)
for critical messages, after logging of which the application quits abnormally. |
int |
getLevel()
|
void |
info(String message)
for messages similar to the "verbose" mode of many applications. |
void |
saveLogToFile(String fileName)
|
void |
setLevel(int logLevel)
Set log output level |
void |
showAboutFrame(Component parent)
display the about frame for this component |
void |
warn(String message)
for warning messages which are logged to some log but the application is able to carry on without a problem |
| Field Detail |
public static final String sABOUT
public static final int DEBUG
public static final int INFO
public static final int WARN
public static final int ERROR
public static final int FATAL
| Method Detail |
public void debug(String message)
public void info(String message)
public void warn(String message)
public void error(String message)
public void fatal(String message)
public void setLevel(int logLevel)
public int getLevel()
public void showAboutFrame(Component parent)
public void clearLog()
public void saveLogToFile(String fileName)
throws IOException
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||