Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Guzzle with logger
services:
guzzle.client:
class: Guzzle\Http\Client
calls:
- [addSubscriber, ["@guzzle.logger"]]
guzzle.logger:
class: Guzzle\Log\MonologLogAdapter
arguments:
- "@logger"
tags:
- { name: monolog.logger, channel: api }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.