Package com.yahoo.log
Class FileLogTarget
- java.lang.Object
-
- com.yahoo.log.FileLogTarget
-
-
Constructor Summary
Constructors Constructor Description FileLogTarget(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.OutputStream
open()
Opens an output stream for the target.String
toString()
-
-
-
Constructor Detail
-
FileLogTarget
public FileLogTarget(File target) throws FileNotFoundException
- Throws:
FileNotFoundException
-
-
Method Detail
-
open
public 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.
-
-