Package com.yahoo.log
Class FileLogTarget
java.lang.Object
com.yahoo.log.FileLogTarget
- All Implemented Interfaces:
LogTarget
@Deprecated(since="7",
forRemoval=true)
public class FileLogTarget
extends Object
implements 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
-
Constructor Summary
ConstructorDescriptionFileLogTarget
(File target) Deprecated, for removal: This API element is subject to removal in a future version. -
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.toString()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
FileLogTarget
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
FileNotFoundException
-
-
Method Details
-
open
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:LogTarget
Opens an output stream for the target. If already open, the stream should be reopened. -
close
public void close()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:LogTarget
Close the log target, ensuring that all data is written. -
toString
Deprecated, for removal: This API element is subject to removal in a future version.
-