MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / addTraceLine

Method addTraceLine

libminifi/include/utils/BackTrace.h:126–133  ·  view source on GitHub ↗

* Adds a trace line with an optional function * @param symbol_line symbol line that was produced * @param func function name */

Source from the content-addressed store, hash-verified

124 * @param func function name
125 */
126 void addTraceLine(const char *symbol_line, const char *func = nullptr) {
127 std::stringstream line;
128 line << symbol_line;
129 if (nullptr != func) {
130 line << " @" << func;
131 }
132 trace_.addLine(line.str());
133 }
134
135 /**
136 * Adds a trace line in the format "<file_name> @ <symbol_name> + <symbol_offset>", if symbol_name is not nullptr,

Callers 1

pull_traceFunction · 0.80

Calls 1

addLineMethod · 0.80

Tested by

no test coverage detected