MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / checkAndMuteError

Function checkAndMuteError

tests/cpu/UnitTestLogUtils.cpp:168–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168bool checkAndMuteError(LogGuard & logGuard, const std::string str)
169{
170 const std::string pattern = R"(\[OpenColorIO Error\]: )" + str + R"([\r\n]+)";
171 return logGuard.findAllAndRemove(pattern);
172}
173
174} // namespace OCIO_NAMESPACE
175

Callers 1

checkForLogOrExceptionFunction · 0.85

Calls 1

findAllAndRemoveMethod · 0.80

Tested by

no test coverage detected