MCPcopy Create free account
hub / github.com/apache/arrow / ~CerrLog

Method ~CerrLog

cpp/src/arrow/util/logging.cc:70–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 explicit CerrLog(ArrowLogLevel severity) : severity_(severity), has_logged_(false) {}
69
70 virtual ~CerrLog() {
71 if (has_logged_) {
72 static std::mutex cerr_mutex;
73 std::lock_guard<std::mutex> lock(cerr_mutex);
74 std::cerr << std::move(buffer_).str() << std::endl;
75 }
76 if (severity_ == ArrowLogLevel::ARROW_FATAL) {
77 PrintBackTrace();
78 std::abort();
79 }
80 }
81
82 std::ostream& Stream() {
83 has_logged_ = true;

Callers

nothing calls this directly

Calls 1

strMethod · 0.80

Tested by

no test coverage detected