Package com.yahoo.log
Interface LogTarget
-
- All Known Implementing Classes:
FileLogTarget
,StderrLogTarget
,StdoutLogTarget
@Deprecated(since="7", forRemoval=true) public interface LogTarget
Deprecated, for removal: This API element is subject to removal in a future version.Should only be used internally in the log library- Since:
- 5.1
- Author:
- Ulf Lilleengen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated, for removal: This API element is subject to removal in a future version.Close the log target, ensuring that all data is written.OutputStream
open()
Deprecated, for removal: This API element is subject to removal in a future version.Opens an output stream for the target.
-
-
-
Method Detail
-
open
OutputStream open()
Deprecated, for removal: This API element is subject to removal in a future version.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()
Deprecated, for removal: This API element is subject to removal in a future version.Close the log target, ensuring that all data is written.
-
-