fix(core): Run beforeSendLog after we process log
#16019
+27
−23
Merged