Barry King > Apache-Wyrd > Apache::Wyrd::Debug

Download:
Apache-Wyrd-0.98.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.98   Source  

NAME ^

Apache::Wyrd::Debug - Debugging Wyrd

SYNOPSIS ^

        <BASENAME::Debug output="/monitor.html" loglevel="4">
        
        ..yada yada yada...
        
        </BASENAME::Debug>

DESCRIPTION ^

Wyrd for monitoring the debugging process while working with Wyrds. It is designed to enclose the entire Wyrd-enabled file. The debug log will be loaded on a popup window in the browser (you will need to enable popups).

Note: You will almost certainly want to specify a loglevel higher than the default of 1/error.

HTML ATTRIBUTES

output

The file (on the web site where the debugging is taking place) which will be used to monitor the debugging. The file should be writable by the server and should be visible to the browser. It should begin with a '/' and contain the path from the document root to the file, as if it was an absolute path to another page on the same site inside the href attribute of an anchor tag.

logfile

The file where the log is temporarily stored while processing. By default, this will be a file under /tmp, but if this is not possible, you should specify it. It must be writable by the server.

PERL METHODS

NONE

BUGS/CAVEATS/RESERVED METHODS ^

Reserves the _setup method.

This is a quick-and-dirty Wyrd and really meant only for internal use under controlled conditions.

AUTHOR ^

Barry King <wyrd@nospam.wyrdwright.com>

SEE ALSO ^

Apache::Wyrd

General-purpose HTML-embeddable perl object

LICENSE ^

Copyright 2002-2007 Wyrdwright, Inc. and licensed under the GNU GPL.

See LICENSE under the documentation for Apache::Wyrd.

syntax highlighting: