Class LogStreamWriter


  • public class LogStreamWriter
    extends LogWriter
    Writes log output to a std::ostream
    • Constructor Detail

      • LogStreamWriter

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

        public LogStreamWriter​(SWIGTYPE_p_std__ostream stream)
        Constructs LogStreamWriter with a target output stream

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

        Ownership of the stream is not taken.

        Parameters:
        stream - [in] Stream to write to