MCPcopy Create free account
hub / github.com/ColinPitrat/caprice32 / GetLogEntries

Method GetLogEntries

src/gui/src/wutil_log.cpp:32–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30{
31
32CLog::t_LogList CLog::GetLogEntries(unsigned int iSeverity) const
33{
34 t_LogList OutLog;
35 for (const auto &log : m_LogList)
36 {
37 if (iSeverity == 0 || log.m_iSeverity == iSeverity)
38 {
39 OutLog.push_back(log);
40 }
41 }
42 return OutLog;
43}
44
45
46CLog::t_LogList CLog::GetLogEntries(unsigned int iHighSeverity, unsigned int iLowSeverity) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected