Package com.yahoo.log
Interface LogTarget
- All Known Implementing Classes:
FileLogTarget
,StderrLogTarget
,StdoutLogTarget
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
Modifier and TypeMethodDescriptionvoid
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.open()
Deprecated, for removal: This API element is subject to removal in a future version.Opens an output stream for the target.
-
Method Details
-
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.
-