Business::Shipping::Logging - Log4perl wrapper for easy, non-OO usage.


Business-Shipping documentation  | view source Contained in the Business-Shipping distribution.

Index


NAME

Top

Business::Shipping::Logging - Log4perl wrapper for easy, non-OO usage.

NOTES

Top

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.)

METHODS

Top

init

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()

Exported functions

Top

Please see Log4perl for more about these wrapped functions.

logdie

logwarn

fatal

error

warn

info

debug

trace

is_fatal

is_error

is_warn

is_info

is_debug

is_trace

log_level()

Does the heavy lifting for Business::Shipping->log_level().

AUTHOR

Top

Daniel Browning, db@kavod.com, http://www.kavod.com/

COPYRIGHT AND LICENCE

Top


Business-Shipping documentation  | view source Contained in the Business-Shipping distribution.