MCPcopy Create free account
hub / github.com/apache/fory / ~ForyLog

Method ~ForyLog

cpp/fory/util/logging.cc:121–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121ForyLog::~ForyLog() {
122 if (severity_ == ForyLogLevel::FORY_FATAL) {
123 stream() << "\n*** StackTrace Information ***\n"
124 << ::fory::get_call_trace();
125 stream() << std::endl;
126 stream().flush();
127 std::cerr.flush();
128 std::cout.flush();
129 std::_Exit(EXIT_FAILURE);
130 }
131 stream() << "\n" << std::endl;
132}
133
134bool ForyLog::is_level_enabled(ForyLogLevel log_level) {
135 return log_level >= fory_severity_threshold;

Callers

nothing calls this directly

Calls 2

get_call_traceFunction · 0.85
flushMethod · 0.45

Tested by

no test coverage detected