Package com.yahoo.log

Class StdoutLogTarget

  • All Implemented Interfaces:
    LogTarget

    public class StdoutLogTarget
    extends Object
    implements LogTarget
    Since:
    5.1
    Author:
    Ulf Lilleengen
    • Constructor Detail

      • StdoutLogTarget

        public StdoutLogTarget()
    • Method Detail

      • open

        public OutputStream open()
        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()
        Description copied from interface: LogTarget
        Close the log target, ensuring that all data is written.
        Specified by:
        close in interface LogTarget