I've tried to make a really simple, easy way to get logging info from Javascript.

The log_debug function will either stick in logging data at a place where you have a DIV with an id=log.

Or, if you havent' created such a DIV, it will make one for you at the bottom of the page.

Below is all you have to do! Try it out!

<script type="text/javascript" src="common/logging.js" ></script>

log_debug("some junk");

-- MattWalsh - 02 Apr 2007

Topic revision: r1 - 02 Apr 2007 - MattWalsh
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback