Welcome To Snipplr

Everyone's Recent JavaScript Snippets Tagged log

« Prev 1 Next »
// create a variable to toggle debugging // to use it, just call debug(with,any,optional,parameters) debug(x,y,z); // it will try to guess what type of message to log, or you can specify in the first parameter debug("error",x,y,z);
1 469 posted 6 years ago by brandonjp
IE doesn't like console.log. This fixes that.
1 366 posted 8 years ago by bitsculptor
generischer Handler für die Eventausgabe in der Konsole....
0 386 posted 9 years ago by dejot
Helps to manage console.log debug in js when broswing in IE. If alertFallback is enabled, you can see js alerts appears of vars tracked.
0 371 posted 10 years ago by Simounet
Basically creates a log function on the window object and uses console.log or alert depending on which is supported. Very basic and simple but definitely useful.
0 294 posted 10 years ago by alvincrespo
Activation: con Scope: source.js, source.js.jquery
0 292 posted 10 years ago by divtagged
0 340 posted 11 years ago by viatropos
1 360 posted 11 years ago by tennison
Use to debug javascript in all browsers.
0 297 posted 11 years ago by Meander365
8 464 posted 13 years ago by mdi
« Prev 1 Next »