- All Superinterfaces:
- All Known Implementing Classes:
- AbstractLogWriter, BinaryFileLog, ConsoleLog, JDBCLogWriter, JTextComponentLog, LogFile, SocketWriter, StackTraceFileWriter, StringBufferLog, XMLWriter
public interface LogWriter
- extends Filter<LogEntry>
The LogWriter interface defines objects that can be used
as a handler for the Logger class.
It is left to the discretion of the LogWriter implementation
to perform the write synchronously or asynchronously.
LogWriter extends the interface Filter so that each
LogWriter embedds the functionality of being able to filter
each LogEntry that is to be written.
- See Also:
writes the given LogEntry to the log of this LogWriter.
|Methods inherited from interface org.jscience.util.Filter
void write(LogEntry entry)
- writes the given LogEntry to the log of this LogWriter. This
method must not check whether entries are accepted, as the Logger class
will only call this method once checked that this LogWriter accepts the
entry - DOCUMENT ME!
LogException - if an error occurred while writing the log