Print a list of symbolized addresses to a std::string. Not reentrant. Do not use from signal handling code.

Synopsis

Declared in <folly/debugging/symbolizer/SymbolizePrinter.h>

class StringSymbolizePrinter
    : public SymbolizePrinter

Base Classes

Name

Description

SymbolizePrinter

Print a list of symbolized addresses. Base class.

Enums

Name

Description

Color

ANSI colors used to colorize printed output.

Options

Bit flags controlling how frames are printed.

Member Functions

Name

Description

StringSymbolizePrinter [constructor]

Construct a printer that accumulates output into a string.

color

Emit the ANSI escape code that selects color c.

fbstr

Get the accumulated output as an fbstring.

flush [virtual]

If output buffered inside this class, send it to the output stream, so that any output done in other ways appears after this.

moveFbString

Move the accumulated output out as an fbstring.

print

print overloads

println

println overloads

str

Get the accumulated output as a std::string.

Protected Data Members

Name

Description

isTty_

Whether the output destination is a TTY.

options_

The printing options bitmask.

Created with MrDocs