Business::Shipping::Logging - Log4perl wrapper for easy, non-OO usage.
The Log4perl category is Package::subroutine::line. This gives a lot of information for debugging. (Technically, category is whatever the fourth return value of caller(1) is.)
Build wrapper on top of Log4perl, increasing caller_depth to one:
Business::Shipping::UPS_Offline::RateRequest::debug() | | Business::Shipping::Logging::debug() | | Log::Log4perl->logger->DEBUG()
Please see Log4perl for more about these wrapped functions.
Does the heavy lifting for Business::Shipping->log_level().
Daniel Browning, db@kavod.com, http://www.kavod.com/
Copyright 2003-2011 Daniel Browning <db@kavod.com>. 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.
To install Business::Shipping, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::Shipping
CPAN shell
perl -MCPAN -e shell install Business::Shipping
For more information on module installation, please visit the detailed CPAN module installation guide.