WeBWorK::Debug - Print (or don't print) debugging output.
head1 SYNOPSIS
use WeBWorK::Debug;
# Enable debugging
$WeBWorK::Debug::Enabled = 1;
# Log to a file instead of STDERR
$WeBWorK::Debug::Logfile = "/path/to/debug.log";
# log some debugging output
debug("Generated 5 widgets.");
If true, debugging messages will be output. If false, they will be ignored.
If non-empty, debugging output will be sent to the file named rather than STDERR.
If defined, prevent subroutines matching the following regular expression from logging.
If defined, allow only subroutines matching the following regular expression to log.
Write @messages to the debugging log.
Written by Sam Hathaway, sh002i (at) math.rochester.edu.