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

Method UpdateLogEntries

lib/livestatus/logtable.cpp:96–102  ·  view source on GitHub ↗

gets called in LivestatusLogUtility::CreateLogCache */

Source from the content-addressed store, hash-verified

94
95/* gets called in LivestatusLogUtility::CreateLogCache */
96void LogTable::UpdateLogEntries(const Dictionary::Ptr& log_entry_attrs, int lineno, const AddRowFunction& addRowFn)
97{
98 /* additional attributes only for log table */
99 log_entry_attrs->Set("lineno", lineno);
100
101 addRowFn(log_entry_attrs, LivestatusGroupByNone, Empty);
102}
103
104Object::Ptr LogTable::HostAccessor(const Value& row, const Column::ObjectAccessor&)
105{

Callers 1

CreateLogCacheMethod · 0.45

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected