Package com.yahoo.log

Class StdoutLogTarget

java.lang.Object
com.yahoo.log.StdoutLogTarget
All Implemented Interfaces:
LogTarget

@Deprecated(since="7", forRemoval=true) public class StdoutLogTarget 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

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Close the log target, ensuring that all data is written.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Opens an output stream for the target.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StdoutLogTarget

      public StdoutLogTarget()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • open

      public OutputStream 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.
      Specified by:
      open in interface LogTarget
      Returns:
      a new outputstream for the log target.
    • 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.
      Specified by:
      close in interface LogTarget