org.jscience.util.logging
Class StackTraceFileWriter

java.lang.Object
  extended by org.jscience.util.logging.AbstractLogWriter
      extended by org.jscience.util.logging.StackTraceFileWriter
All Implemented Interfaces:
Filter<LogEntry>, LogWriter

public class StackTraceFileWriter
extends AbstractLogWriter

writes full stack trace of entries that log an exception to a given file.


Field Summary
 
Fields inherited from class org.jscience.util.logging.AbstractLogWriter
filter, formatter
 
Constructor Summary
StackTraceFileWriter(java.io.File logFile)
          Creates a new StackTraceFileWriter object.
 
Method Summary
 void writeLogEntry(java.lang.Object pattern)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.util.logging.AbstractLogWriter
accept, getLogFilter, getLogFormatter, setLogFilter, setLogFormatter, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackTraceFileWriter

public StackTraceFileWriter(java.io.File logFile)
Creates a new StackTraceFileWriter object.

Parameters:
logFile - DOCUMENT ME!
Method Detail

writeLogEntry

public void writeLogEntry(java.lang.Object pattern)
DOCUMENT ME!

Specified by:
writeLogEntry in class AbstractLogWriter
Parameters:
pattern - DOCUMENT ME!
Throws:
LogException - DOCUMENT ME!