This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PayPal-PHP-SDK/lib/PayPal/Log/PayPalDefaultLogFactory.php
2016-04-11 15:45:49 -05:00

26 lines
554 B
PHP

<?php
namespace PayPal\Log;
use Psr\Log\LoggerInterface;
/**
* Class PayPalDefaultLogFactory
*
* This factory is the default implementation of Log factory.
*
* @package PayPal\Log
*/
class PayPalDefaultLogFactory implements PayPalLogFactory
{
/**
* Returns logger instance implementing LoggerInterface.
*
* @param string $className
* @return LoggerInterface instance of logger object implementing LoggerInterface
*/
public function getLogger($className)
{
return new PayPalLogger($className);
}
}