CTF::Log - Handles Logging capabilities for all CTF modules.
use CTF;
CTF->load_from_io($config);
log( "Something is happening!\n");
warn( "Something bad is happening!\n");
die( "Something *really* bad is happening!\n");
bogon( "Something really weird is happening!\n");
Manages logging via log(), warn() and die() calls.
Overrides log() warn() and die() calls to a logfile as defined in $CTF::Config->{logfile}
Messages continue to go to to STDERR, as well.
http://crew.ccs.neu.edu/wiki/CaptureTheFlag
Marc Dougherty <[email protected]>
Ian Langworth <http://langworth.com>
Copyright 2004 by Marc Dougherty
This software is released under the terms of the GPL. A copy of the GPL can be obtained here: http://www.fsf.org/licenses/gpl.html