MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / GTestLog

Method GTestLog

rtpose_wrapper/src/gtest/gtest-all.cpp:8261–8269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8259
8260
8261GTestLog::GTestLog(GTestLogSeverity severity, const char* file, int line)
8262 : severity_(severity) {
8263 const char* const marker =
8264 severity == GTEST_INFO ? "[ INFO ]" :
8265 severity == GTEST_WARNING ? "[WARNING]" :
8266 severity == GTEST_ERROR ? "[ ERROR ]" : "[ FATAL ]";
8267 GetStream() << ::std::endl << marker << " "
8268 << FormatFileLocation(file, line).c_str() << ": ";
8269}
8270
8271// Flushes the buffers and, if severity is GTEST_FATAL, aborts the program.
8272GTestLog::~GTestLog() {

Callers

nothing calls this directly

Calls 1

FormatFileLocationFunction · 0.85

Tested by

no test coverage detected