com.mortbay.Base
Class FileLogSink

java.lang.Object
  |
  +--com.mortbay.Base.LogSink
        |
        +--com.mortbay.Base.FileLogSink

public class FileLogSink
extends LogSink

File Log Sink. This implementation of Log Sink writes logs to a file. Currently it is a trivial implementation and represents a place holder for future implementations of file handling which is dated, rolling, etc.

Version:
1.0 Sun Apr 23 2000
Author:
Greg Wilkins (gregw)
See Also:

Fields inherited from class com.mortbay.Base.LogSink
_dateFormat, _logLabels, _logOneLine, _logStackSize, _logStackTrace, _logTags, _logTimeStamps
 
Constructor Summary
FileLogSink()
           
FileLogSink(java.lang.String filename)
           
 
Methods inherited from class com.mortbay.Base.LogSink
log, log, setOptions, setWriter, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileLogSink

public FileLogSink()
            throws java.io.IOException

FileLogSink

public FileLogSink(java.lang.String filename)
            throws java.io.IOException