fix(core): Run beforeSendLog after we process log
#16019
Merged
beforeSendLog after we process log
#16019