guark / guark

Build awesome Golang desktop apps and beautiful interfaces with Vue.js, React.js, Framework 7, and more...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to prevent console messages getting intercepted.

SGarno opened this issue · comments

When a standard console.log() is issued, Guark seems to intercept this and sends it through logrus(?) with json formatting. How can this be disabled or at least change the format to text instead of JSON?

I have changed the Guark logrus to use console formatting, and it works for all things going through the app context, but for some reason the console.log gets intercepted and do not go through the Guark log. I am not sure where this is occurring.

Any ideas would be appreciated.