MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / sync

Method sync

src/Base/ConsoleObserver.cpp:271–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271int RedirectStdOutput::sync()
272{
273 // Print as log as this might be verbose
274 if (!buffer.empty() && buffer.back() == '\n') {
275 Base::Console().log("%s", buffer.c_str());
276 buffer.clear();
277 }
278 return 0;
279}
280
281RedirectStdLog::RedirectStdLog()
282{

Callers

nothing calls this directly

Calls 6

emptyMethod · 0.45
backMethod · 0.45
logMethod · 0.45
c_strMethod · 0.45
clearMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected