Solution for people who may have a similar problem:
" $('#Logs .log-line').slice(13).remove(); "
By default it says slice(500), adjust this number according to your needs. 13 was enough for me.
image.png
For example, is there a normal error log instead of a manual fail that we can use within the x function? I want to provide a manual error log, for example:
Custom log "red" = [1231241241] [17:45:55] Thread #1 “Number could not be obtained from the number service.”
I want to write this as an error fail log rather than a normal log, but I don't want to use the “Fail” action.
I can do it using the fail action, but the script stops continuing.
If I put the fail action inside try-catch, this time it doesn't log the text inside fail.