NAME
Business::CPI::Util::EmptyLogger - Default null logger
VERSION
version 0.922
DESCRIPTION
By default, nothing is logged. This class exists just so that, if the user wants, it can provide his own logger (e.g. Log::Log4perl, Catalyst::Log, Log::Dispatcher, etc) when building the Business::CPI gateway object, such as:
my $cpi = Business::CPI->new(
gateway => 'Test',
log => $log,
...
);
METHODS
new
Constructor.
debug
info
warn
error
fatal
None of these do anything. It's called by Business::CPI internally, but it's just a placeholder.
is_debug
is_info
is_warn
is_error
is_fatal
All return false by default.
AUTHOR
André Walker <andre@andrewalker.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by André Walker.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.