ok

Mini Shell

Direktori : /home2/selectio/www/mm-tailor-billing/vendor/stripe/stripe-php/lib/Util/
Upload File :
Current File : //home2/selectio/www/mm-tailor-billing/vendor/stripe/stripe-php/lib/Util/DefaultLogger.php

<?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 \Exception('DefaultLogger does not currently implement context. Please implement if you need it.');
        }
        error_log($message);
    }
}

Zerion Mini Shell 1.0