Flutterwave / PHP-v3

PHP Library for Flutterwave v3 APIs
MIT License
19 stars 18 forks source link

Log path #51

Closed BUGOVER closed 1 year ago

BUGOVER commented 1 year ago

How to change log path or disable it

bajoski34 commented 1 year ago

HI @BUGOVER thanks for choosing flutterwave.

Please kindly create a class that implements the ConfigInterface. An Implementation can be found here.

you can then pass it into the Flutterwave::bootstrap($myConfig) method to use the settings.

BUGOVER commented 1 year ago

vendor/flutterwavedev/flutterwave-v3/src/Service/Service.php::bootstrap

is called and throws an exception when I try to implement "ConfigInterface"

why is this method called, but I override the configuration I think it's bug

bajoski34 commented 1 year ago

hi @BUGOVER please if you are using a service that does not initiate a charge, you need to pass the ConfigInterface implementation as a param.

image