Mod Debug/Research logs

Hey, so, when working on a mod, its sometimes handy to log some stuff for debugging or just research, but how do I actually log things and where can I see the logs?

Enable the debug console

Thanks, now how do I actually log things?

To log things in Javascript you use console.log()