sveawebpay / php-integration

SDK for Sveas payment methods (standalone and Svea Checkout)
Other
15 stars 19 forks source link

[Feature Request] Save log to file #91

Open timint opened 3 years ago

timint commented 3 years ago

I appreciate the feature of grabbing the raw HTTP log for a transaction. But this only works if an exception is not thrown. I escpecially see good use for analysing the raw log when an exception has been thrown.

Therefore I am proposing that we set a file instead. Where your library can immediately dump the log to file once available.

->setErrorLog('/path/to/desired/file.log')