Creates findAndReplaceOffset funtion
What does this MR do?
Creates findAndReplaceOffset function - when we receive the incremental part of the log, sometimes the last line may be repeated.
In order not to render 2 duplicate lines, we check if the line is repeated (the offset key is the same) and remove it from the previous log. The most recent one is the one with updated content.
Issue: #31162 (closed)
Edited by Filipa Lacerda