| java.lang.Object com.tagtraum.framework.log.LogWriter
All known Subclasses: com.tagtraum.framework.log.LogFileWriter,
Constructor Summary | |
public | LogWriter() Writes log messages to System.err . | public | LogWriter(Writer aWriter, int aBufferSize) Writes log messages with a writer. |
closeOnExit | protected boolean closeOnExit(Code) | | |
trouble | protected boolean trouble(Code) | | |
LogWriter | public LogWriter()(Code) | | Writes log messages to System.err .
|
LogWriter | public LogWriter(Writer aWriter, int aBufferSize)(Code) | | Writes log messages with a writer.
Parameters: aWriter - writer messages should be written with Parameters: aBufferSize - amount of messages that should be buffered |
checkError | public boolean checkError()(Code) | | Checks for errors.
true when there was an error otherwise false |
flush | public synchronized void flush() throws IOException(Code) | | Flushes the underlying writer.
|
write | public synchronized void write(LogEvent aLogEvent)(Code) | | Logs a LogEvent.
Parameters: aLogEvent - a LogEvent |
|
|