Class LogBufferedMsg


  • public class LogBufferedMsg
    extends LogWriter
    Buffers messages before writing them to the output stream.

    The size of the buffer is not fixed and will grow until flush is called.
    To have a fixed size buffer use LogBufferedChar instead.
    • Constructor Detail

      • LogBufferedMsg

        public LogBufferedMsg​(long cPtr,
                              boolean cMemoryOwn)
      • LogBufferedMsg

        public LogBufferedMsg​(SWIGTYPE_p_std__ostream stream)
        Constructs LogBufferedMsg with a target ostream

        The LogBufferedMsg keeps a reference to the stream object. Destroying
        the stream object while the LogBufferedMsg has a reference to it
        results in undefined behavior.

        Parameters:
        stream - [in] Stream to write to