Package com.enterprisedt.util.debug
Class FileAppender
java.lang.Object
com.enterprisedt.util.debug.FileAppender
- All Implemented Interfaces:
Appender
- Direct Known Subclasses:
RollingFileAppender
Appends log statements to a file
- Version:
- $Revision$
- Author:
- Bruce Blackshaw
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanTrue if closedstatic final StringRevision control idprotected PrintWriterDestination -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
cvsId
Revision control id- See Also:
-
log
Destination -
closed
protected boolean closedTrue if closed
-
-
Constructor Details
-
FileAppender
Constructor- Parameters:
file- file to log to- Throws:
IOException
-
-
Method Details
-
open
- Throws:
IOException
-
log
Log a message -
log
Description copied from interface:AppenderLog a stack trace -
close
public void close()Description copied from interface:AppenderClose this appender -
getFile
Returns the path of the logging file.- Returns:
- the path of the logging file.
-