Package com.yahoo.log
Class FileLogTarget
- java.lang.Object
-
- com.yahoo.log.FileLogTarget
-
-
Constructor Summary
Constructors Constructor Description FileLogTarget(java.io.File target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close the log target, ensuring that all data is written.java.io.OutputStream
open()
Opens an output stream for the target.java.lang.String
toString()
-
-
-
Method Detail
-
open
public java.io.OutputStream open()
Description copied from interface:LogTarget
Opens an output stream for the target. If already open, the stream should be reopened.
-
close
public void close()
Description copied from interface:LogTarget
Close the log target, ensuring that all data is written.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-