Problem when override cc.log

I simply override cc.log like this:
cc.log = function(msg){
some new codes;
};
to print the log on screen.
It works well on web.
But on Android, it turns out to be a black screen…

I found there is a platform tool “logcat”
It print all logs from the phone to terminal…so the problem kind of solved.

You should be able to override the behavior of cc.log, I think it’s the code within cc.log triggered the problem. You can post it here and I will have a look for you.

Besides, I like your idea to print log on screen, because “logcat” is really not easy to use