Closed slavo2 closed 6 years ago
I have tried to use guzzle-log-middleware, roughly following the README, however had problem with
Uncaught PHP Exception LogicException: "No handler has been specified"
When I have exchanged
$stack = new HandlerStack(); with $stack = HandlerStack::create();
$stack = new HandlerStack();
$stack = HandlerStack::create();
(Thanks to https://stackoverflow.com/a/32684940 )
my problem was solved.
Suggestion: maybe you might want to update README similarly.
Thank.. I made the changes.. please check. Let me know if something is not fine.
I have tried to use guzzle-log-middleware, roughly following the README, however had problem with
Uncaught PHP Exception LogicException: "No handler has been specified"
When I have exchanged
$stack = new HandlerStack();
with$stack = HandlerStack::create();
(Thanks to https://stackoverflow.com/a/32684940 )
my problem was solved.
Suggestion: maybe you might want to update README similarly.