Class LogOutputStream

    • Constructor Detail

      • LogOutputStream

        public LogOutputStream​(Logger logger)
    • Method Detail

      • write

        public void write​(int cc)
        Write the data to the buffer and flush the buffer, if a line separator is detected.
        Specified by:
        write in class OutputStream
        cc - data to log (byte).
      • write

        public void write​(byte[] b,
                          int off,
                          int len)
        Write a block of characters to the output stream
        write in class OutputStream
        b - the array containing the data
        off - the offset into the array where data starts
        len - the length of block