BloombergLP::balst::operator<<

Stream a multiline stack trace for the specified object to stream.

Synopsis

Declared in <balst_stacktraceprinter.h>

std::ostream&
operator<<(
    std::ostream& stream,
    StackTracePrinter const& object);

Description

Write a newline followed by a multiline stack trace according to the parameters passed to the specified object at its creation to the specified stream.

Return Value

a reference to stream

Parameters

NameDescription
streamoutput stream to which the stack trace is written
objectprinter describing how the stack trace is rendered