The previous log content.
The current log content.
Optional string used to split lines (default: '\n').
Optional index of the line in oldContent to use as the reference point
(default: -2, i.e., the second-to-last line).
Generated using TypeDoc
Computes the difference between two system log contents by returning only the new lines added after the last known line from the old content.
Returns
A string containing only the new lines from
newContentthat come after the reference line fromoldContent. If the reference line is not found, returns the entirenewContent.Example
Remarks
oldContent.