CavKit iPhone Debugger

A simple console logger I built for use on the iPhone. I plan to add more features to it soon, such as dragging and docking. Works best in WebKit or iPhone Safari.

Download

A zip with minified and uncompressed source can be downloaded here.

Usage

After unzipping and copying the cavkit directory to your site, include the following HTML in your page:


        <link rel="stylesheet" type="text/css" media="all" href="cavkit/cavkit.css" />
        <script type="text/javascript" src="cavkit/jquery-1.3.1.min.js"></script>
        <script type="text/javascript" src="cavkit/cavkit.min.js"></script>
        

Then use the following sample javascript:


        var log = new CavKit.Logger();
        
        log.info("This is a regular message.");
        log.debug("This is a debug message.");
        log.warn("This is a warning message.");
        log.error("This is an error message.");