ui/client/features/diagnostics/domain/LogEntries
Pure (DOMAIN-001): merging polled log entries into the list the tab shows.
Cockpit client (features), next. Source: ui/client/features/diagnostics/domain/LogEntries.ts.
Functions#
lastId()#
lastId(
entries):number
Defined in: ui/client/features/diagnostics/domain/LogEntries.ts:4
Parameters#
entries
LogEntry[]
Returns#
number
mergeEntries()#
mergeEntries(
current,incoming,max?):LogEntry[]
Defined in: ui/client/features/diagnostics/domain/LogEntries.ts:9
Appends entries newer than the last one shown and keeps only the latest max.
Parameters#
current
LogEntry[]
incoming
LogEntry[]
max?
number = 300
Returns#
LogEntry[]