MCPcopy Create free account
hub / github.com/Icinga/icinga2 / StackTraceFormatter

Class StackTraceFormatter

lib/base/stacktrace.hpp:18–26  ·  view source on GitHub ↗

* Formatter for `boost::stacktrace::stacktrace` objects * * This class wraps `boost::stacktrace::stacktrace` objects and provides an operator<< * for printing them to an `std::ostream` in a custom format. */

Source from the content-addressed store, hash-verified

16 * for printing them to an `std::ostream` in a custom format.
17 */
18class StackTraceFormatter {
19public:
20 StackTraceFormatter(const boost::stacktrace::stacktrace &stack) : m_Stack(stack) {}
21
22private:
23 const boost::stacktrace::stacktrace &m_Stack;
24
25 friend std::ostream &operator<<(std::ostream &os, const StackTraceFormatter &f);
26};
27
28std::ostream& operator<<(std::ostream& os, const StackTraceFormatter &f);
29

Callers 3

application.cppFile · 0.85
DiagnosticInformationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected