I have tried both
console.log(message);
$wnd.console.log(message);
However, I am still getting:
console is undefined
or
$wnd.console is undefined
When executing my application JSNI method. How can I fix this?
It looks like with Firefox, Firebug should be turned-on otherwise this error is thrown when console
is called from Javascript.