Created
August 20, 2015 22:59
-
-
Save colinodell/da2e9a241280138b54b0 to your computer and use it in GitHub Desktop.
Guzzle with logger
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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