Package com.yahoo.log

Class FileLogTarget

  • All Implemented Interfaces:
    LogTarget

    public class FileLogTarget
    extends Object
    implements LogTarget
    Since:
    5.1
    Author:
    Ulf Lilleengen
    • 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