NAME

Binance::API::Logger -- Logger for Binance::API

DESCRIPTION

Provides a wrapper for your desired logger. Carps log calls higher than "debug" level

SYNOPSIS

use Binance::API;

my $logger = Binance::API::Logger->new($log4perl);

$logger->warn("This is a warning");

METHODS

new

my $logger = Binance::API::Logger->new($log4perl);

Instantiates a new Binance::API::Logger object.

PARAMETERS

A logger object that implements (at least) debug, warn, error, fatal level logging.

[OPTIONAL]

RETURNS

A Binance::API::Logger object.