mirror of
https://github.com/Karaka-Management/Resources.git
synced 2026-01-11 05:18:40 +00:00
27 lines
555 B
PHP
27 lines
555 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);
|
|
}
|
|
}
|