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

Method showErrorLog

Engine/AppManager.cpp:2751–2763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2749}
2750
2751void
2752AppManager::showErrorLog()
2753{
2754 std::list<LogEntry> log;
2755 getErrorLog_mt_safe(&log);
2756 for (std::list<LogEntry>::iterator it = log.begin(); it != log.end(); ++it) {
2757 // only print time - QTime.toString() uses the system locale, that's not what we want
2758 std::cout << QString::fromUtf8("[%2] %1: %3")
2759 .arg(it->context)
2760 .arg( QLocale().toString( it->date.time(), QString::fromUtf8("HH:mm:ss.zzz")) )
2761 .arg(it->message).toStdString() << std::endl;
2762 }
2763}
2764
2765void
2766AppManager::clearErrorLog_mt_safe()

Callers 2

messageMethod · 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