NAME

Business::Shipping::Debug - Compatibility wrapper for Logging. Depreciated.

VERSION

$Rev: 158 $ $Date: 2004-09-09 15:58:17 -0700 (Thu, 09 Sep 2004) $

SYNOPSIS

use Business::Shipping::Logging;

trace "called with parameters: $x, $y, and $z";
debug "value of x = $x";
log_error "encountered invalid data: $x";
debug3 "here is a big list of all the potential data values: $big_list";

DESCRIPTION

Note that this module has been depreciated. Business::Shipping::Logging is the correct module to use now. What is left here is a compatibility wrapper, and it may disappear in a future version.

Aside from the usual stuff, these functions have been speciall mapped:

error_log => error 
error     => moved to Shipping::user_error  
             ('user_error' calls error, but also logs the message for 
             display to the user).
uneval    => moted to Util::uneval
                       

So, for compatibility, the 'error' sub here replaces the one that was normally at Business::Shipping::error() (now called 'user_error()' ).

'uneval', on the other hand, should never have been here in the first place.

Exports several functions useful for logging debug messages, trace information, or error messages.

METHODS

AUTHOR

Dan Browning <db@kavod.com>, Kavod Technologies, http://www.kavod.com.

COPYRIGHT AND LICENCE

Copyright (c) 2003-2004 Kavod Technologies, Dan Browning. All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. See LICENSE for more info.