Package com.yahoo.log
Interface LogTarget
-
- All Known Implementing Classes:
FileLogTarget
,StderrLogTarget
,StdoutLogTarget
public interface LogTarget
- Since:
- 5.1
- Author:
- Ulf Lilleengen
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
open
OutputStream open()
Opens an output stream for the target. If already open, the stream should be reopened.- Returns:
- a new outputstream for the log target.
-
close
void close()
Close the log target, ensuring that all data is written.
-
-