Dave Rolsky > Alzabo > Alzabo::Debug

Download:
Alzabo-0.92.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  1
View/Report Bugs
Source  

NAME ^

Alzabo::Debug - Creates constants used to turn on debugging

SYNOPSIS ^

  export ALZABO_DEBUG='SQL|TRACE'

  ... load and run code using Alzabo ...

  export ALZABO_DEBUG=METHODMAKER

  ... load and run code using Alzabo ...

DESCRIPTION ^

This module creates constants used by other modules in order to determine what debugging output should be generated.

The interface is currently experimental.

USAGE ^

Currently, the only way to turn on debugging is by setting the ALZABO_DEBUG environment variable. This variable can contain various flags, each separated by a pipe char (|). Each flag turns on different types of debugging output.

These flags must be set before Alzabo is loaded, as debugging is turned on or off through the use of constants.

The current flags are:

For now, all debugging output is sent to STDERR.

syntax highlighting: