mailiverse/web/mobile_large/overrides.js

17 lines
284 B
JavaScript
Raw Normal View History

2013-07-21 13:40:17 -04:00
function log()
{
var out = [ logFormatDate() + ":" ];
for (var i=0; i<arguments.length; ++i)
out.push("" + arguments[i]);
if (mDispatch.mode == 'native')
{
mNative.sendRequest({cmd:'cout',args:[out.join(" ")], callback:-1});
}
else
{
console.log(out.join(" "));
}
}