i searched a lot of things and i tried most of them but still i could not solve my problem.
What i want to do: I want to get current console output when i click the button.
Sometimes there are XHR errors like this one
I want to get even this xhr info in string. Basically i want to get whole stuff in console. Not only logs, not only warnings or not only errors. Is that possible ? If so, how can i do that ? Thank you.