|
edtFTPj | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.enterprisedt.util.debug.FileAppender
public class FileAppender
Appends log statements to a file
Field Summary | |
---|---|
static String |
cvsId
Revision control id |
Constructor Summary | |
---|---|
FileAppender(String file)
Constructor |
Method Summary | |
---|---|
void |
close()
Close this appender |
String |
getFile()
Returns the path of the logging file. |
void |
log(String msg)
Log a message |
void |
log(Throwable t)
Log a stack trace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String cvsId
Constructor Detail |
---|
public FileAppender(String file) throws IOException
file
- file to log to
IOException
Method Detail |
---|
public void log(String msg)
log
in interface Appender
msg
- message to logpublic void log(Throwable t)
Appender
log
in interface Appender
t
- throwable objectpublic void close()
Appender
close
in interface Appender
public String getFile()
|
edtFTPj | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |