Skip to content

Instantly share code, notes, and snippets.

@jamiehannaford
Last active January 3, 2016 13:29
Show Gist options
  • Save jamiehannaford/8469989 to your computer and use it in GitHub Desktop.
Save jamiehannaford/8469989 to your computer and use it in GitHub Desktop.
enable logging
<?php
use Guzzle\Plugin\Log\LogPlugin;
use OpenCloud\Rackspace;
$client = new Rackspace(Rackspace::US_IDENTITY_ENDPOINT, array(
'username' => 'foo',
'apiKey' => 'bar'
));
$client->addSubscriber(LogPlugin::getDebugPlugin());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment