MCPcopy Create free account
hub / github.com/Icinga/icinga2 / FetchRows

Method FetchRows

lib/livestatus/logtable.cpp:83–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void LogTable::FetchRows(const AddRowFunction& addRowFn)
84{
85 Log(LogDebug, "LogTable")
86 << "Pre-selecting log file from " << m_TimeFrom << " until " << m_TimeUntil;
87
88 /* create log file index */
89 LivestatusLogUtility::CreateLogIndex(m_CompatLogPath, m_LogFileIndex);
90
91 /* generate log cache */
92 LivestatusLogUtility::CreateLogCache(m_LogFileIndex, this, m_TimeFrom, m_TimeUntil, addRowFn);
93}
94
95/* gets called in LivestatusLogUtility::CreateLogCache */
96void LogTable::UpdateLogEntries(const Dictionary::Ptr& log_entry_attrs, int lineno, const AddRowFunction& addRowFn)

Callers

nothing calls this directly

Calls 1

LogClass · 0.85

Tested by

no test coverage detected