X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws-core.js;h=e08958fa5b54cb04aae8201b4eb8c17a83359522;hb=efb2e7adaf2d74aeb9433fedda5b03eaa3fde747;hp=0bfc174472329b0f097dc8040f87ae9daca12bed;hpb=96ff13c77214b76cb54dbaa6b9fae081a856738f;p=mkws-moved-to-github.git diff --git a/src/mkws-core.js b/src/mkws-core.js index 0bfc174..e08958f 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -88,7 +88,8 @@ mkws.log = function(string) { // you need to disable use strict at the top of the file!!! if (mkws.log_level >= 3) { - console.log(arguments.callee.caller); + // Works in Chrome; not sure about elsewhere + console.trace(); } else if (mkws.log_level >= 2) { console.log(">>> called from function " + arguments.callee.caller.name + ' <<<'); }