com.antelmann.util.logging
Class StackTraceFileWriter
java.lang.Object
com.antelmann.util.logging.AbstractLogWriter<String>
com.antelmann.util.logging.StackTraceFileWriter
- All Implemented Interfaces:
- Filter<LogEntry>, LogWriter
public class StackTraceFileWriter
- extends AbstractLogWriter<String>
writes full stack trace of entries that log an exception to a given file.
- Author:
- Holger Antelmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackTraceFileWriter
public StackTraceFileWriter(File logFile)
writeLogPattern
public void writeLogPattern(String pattern)
- Description copied from class:
AbstractLogWriter
- writes the pattern to the log entity.
If the LogEntryFormatter is null, the pattern is the LogEntry object
itself; otherwise, the pattern is the result of formatting the LogEntry
with the given LogEntryFormatter.
- Specified by:
writeLogPattern in class AbstractLogWriter<String>
(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads