PHP 8.2.31
Preview: DefaultLogger.php Size: 488 B
/home/nshryvcy/blissfulnepal.com/wp-content/plugins/tourmaster/include/stripe/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);
    }
}

Directory Contents

Dirs: 0 × Files: 8

Name Size Perms Modified Actions
1.50 KB lrw-r--r-- 2024-05-28 15:48:44
Edit Download
1.63 KB lrw-r--r-- 2024-05-28 15:48:44
Edit Download
488 B lrw-r--r-- 2024-05-28 15:48:44
Edit Download
1.15 KB lrw-r--r-- 2024-05-28 15:48:44
Edit Download
800 B lrw-r--r-- 2024-05-28 15:48:44
Edit Download
3.14 KB lrw-r--r-- 2024-05-28 15:48:44
Edit Download
745 B lrw-r--r-- 2024-05-28 15:48:44
Edit Download
13.83 KB lrw-r--r-- 2024-05-28 15:48:44
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).