Logging everything ingame?

Hello, i’m wondering and first let me start by apologizing because i know this is a duplicate question;

How does one log everything in the game aside of console(addon memory usage, addon conflicts, overwriting) and how does one enable additional developer/logging tools on the console? I’m really interested if I can actually monitor addons and the code analyzing memory spikes and fps performance.