MCPcopy Create free account
hub / github.com/ablab/spades / log

Method log

ext/src/llvm/Error.cpp:122–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 : Msg(S.str()), EC(EC), PrintMsgOnly(true) {}
121
122void StringError::log(raw_ostream &OS) const {
123 if (PrintMsgOnly) {
124 OS << Msg;
125 } else {
126 OS << EC.message();
127 if (!Msg.empty())
128 OS << (" " + Msg);
129 }
130}
131
132std::error_code StringError::convertToErrorCode() const {
133 return EC;

Callers 3

hmm_glocalMethod · 0.45
logAllUnhandledErrorsFunction · 0.45
fatalUncheckedErrorMethod · 0.45

Calls 2

messageMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected