MCPcopy Create free account
hub / github.com/chipsalliance/Surelog / printMessage

Method printMessage

src/ErrorReporting/ErrorContainer.cpp:401–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399}
400
401bool ErrorContainer::printMessage(Error& error, bool muteStdout) {
402 if (error.m_reported) return false;
403 std::pair<std::string, bool> report = createReport_(error);
404
405 if (!muteStdout) {
406 std::cout << report.first << std::flush;
407 }
408 bool successLogFile = printToLogFile(report.first);
409 if (successLogFile) error.m_reported = true;
410 return (successLogFile && (!report.second));
411}
412
413bool ErrorContainer::printMessages(bool muteStdout) {
414 std::pair<std::string, bool> report = createReport_();

Callers 8

compileMethod · 0.80
compileMethod · 0.80
compileMethod · 0.80
compileMethod · 0.80
elaborateMethod · 0.80
compileMethod · 0.80
compileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected