Closed fbunadi closed 4 years ago
Sorry, will look into this.
The logger only logs some debug items, it does not capture full responses.
I'll see whats up.. but should accept any PSR compatible logger and "work" in my previous testing.
Yes... so the logger is only for debug purposes, it does not catch "errors" param and shoot it to the logs... I will adjust it so it does!
Thanks!
Hi,
I'm not sure how to use $api->setLogger function so it will write into Laravel log files. I'm trying to get the errors->exception from the rest response and I see that the api class already logs it so I tried to use setLogger however I don't see it created the file.
Most likely, I set it up incorrectly.
This is my code:
Here's the api response:
Please help. Thanks :)