WP File Manager
Current Path:
/
home
/
itutorethiopia
/
public_html
/
vendor
/
stripe
/
stripe-php
/
lib
/
Util
/
Name
Action
..
AutoPagingIterator.php
Edit
DefaultLogger.php
Edit
LoggerInterface.php
Edit
RequestOptions.php
Edit
Set.php
Edit
Util.php
Edit
Editing: 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 = array()) { if (count($context) > 0) { throw new Exception('DefaultLogger does not currently implement context. Please implement if you need it.'); } error_log($message); } }