NAME
Debug - Perl extension for logging/debugging.
SYNOPSIS
use Debug;
DESCRIPTION
Debug provide a basic framework for the logging/debugging of Perl modules.
new() Create a new Debug object
timeStamp() Enables date and timestamping
detail() Enables detailed logging
debug Enables debugging
debugFile Set a debug file for logging to a file
initialize Initializes debugging/logging
message Write a message to configured destinations
my $debug = new Debug(); $debug->debugFile("debug.log"); $debug->initialize(); $debug->message("Test 1"); $debug->timeStamp(); $debug->message("Test 2"); $debug->detail(); $debug->message("Test 3");
EXPORT
None by default.
AUTHOR
JJMB, <lt>jjmb@jjmb.com>
SEE ALSO
perl.