MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / reportErr

Method reportErr

cli/threadexecutor.cpp:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 void reportErr(const ErrorMessage &msg) override {
63 if (!mThreadExecutor.hasToLog(msg))
64 return;
65
66 std::lock_guard<std::mutex> lg(mReportSync);
67 mErrorLogger.reportErr(msg);
68 }
69
70 void reportMetric(const std::string &metric) override {
71 std::lock_guard<std::mutex> lg(mReportSync);

Callers

nothing calls this directly

Calls 1

hasToLogMethod · 0.80

Tested by

no test coverage detected