mirror of
https://github.com/itflow-org/itflow
synced 2026-03-16 18:54:51 +00:00
Updated Client Detail Header for better mobile fit, lots of progress on stripe pay and some other minor updates
This commit is contained in:
18
vendor/stripe-php-7.0.2/lib/Util/DefaultLogger.php
vendored
Normal file
18
vendor/stripe-php-7.0.2/lib/Util/DefaultLogger.php
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Stripe\Util;
|
||||
|
||||
/**
|
||||
* A very basic implementation of LoggerInterface that has just enough
|
||||
* functionality that it can be the default for this library.
|
||||
*/
|
||||
class DefaultLogger implements LoggerInterface
|
||||
{
|
||||
public function error($message, array $context = [])
|
||||
{
|
||||
if (count($context) > 0) {
|
||||
throw new \Stripe\Exception\BadMethodCallException('DefaultLogger does not currently implement context. Please implement if you need it.');
|
||||
}
|
||||
error_log($message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user