how do i stop all console messages to save perfomance?

i am getting tons of messages that are warnings or just other useless messages that are clearly slowing performance down how do I disable and stop all messages from running, I understand that if there is a real error that is ok but unless the error prevents the game form playing ( which it will anyway) how do I disable all console messages ALL OF THEM!

heres a pic of just some of the non fatal errors but I mean how do I stop all messages
the game runs with these but they keep generating thousands of same messages
thanks

They’re not in log without purpose. If you want to get rid of them, check what causes them and correct it. You have to check what your code exactly does in spn2.cs line 47, also check out these warning messages and corect if possible.