NAME

Business::CPI::EmptyLogger - Default null logger

VERSION

version 0.901

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.

is_debug

debug

info

warn

error

fatal

None of these do anything. It's called by Business::CPI internally, but it's just a placeholder.

AUTHOR

André Walker <andre@andrewalker.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 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.