: Class FileLogSink

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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, _out`

Constructor Summary
`FileLogSink()`
`FileLogSink(java.lang.String filename)`

Method Summary
`void` | `stop()` Stop a log sink.

Methods inherited from class com.mortbay.Base.LogSink
`log, log, setOptions, setWriter`

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

Method Detail

### stop

    public void stop()

  Description copied from class: LogSink
  Stop a log sink. An opportunity for subclasses to clean up. The default implementation does nothing
  Overrides:
    stop in class LogSink

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD