MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / showErrorLog

Method showErrorLog

Engine/AppManager.cpp:2689–2701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2687}
2688
2689void
2690AppManager::showErrorLog()
2691{
2692 std::list<LogEntry> log;
2693 getErrorLog_mt_safe(&log);
2694 for (std::list<LogEntry>::iterator it = log.begin(); it != log.end(); ++it) {
2695 // only print time - QTime.toString() uses the system locale, that's not what we want
2696 std::cout << QString::fromUtf8("[%2] %1: %3")
2697 .arg(it->context)
2698 .arg( QLocale().toString( it->date.time(), QString::fromUtf8("HH:mm:ss.zzz")) )
2699 .arg(it->message).toStdString() << std::endl;
2700 }
2701}
2702
2703void
2704AppManager::clearErrorLog_mt_safe()

Callers 2

Node.cppFile · 0.45
loadProjectMethod · 0.45

Calls 4

toStdStringMethod · 0.80
timeMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected