How to get output of the console?

I am writing a discord bot and an Electron client to it. I need to get console logs from my app. I tried to get them from the project page - from here, but console logs from my app are being automatically readressed into Glitch’s “log”. How do i get my console logs printed at my app page?

Glitch source and GitHub

You cannot simply redirect your logs to your application, you have to forward it yourself. You can add a function adding it to the application itself right after console.log.