diff options
Diffstat (limited to 'apps/files_external/3rdparty/aws-sdk-php/Guzzle/Log/ArrayLogAdapter.php')
-rw-r--r-- | apps/files_external/3rdparty/aws-sdk-php/Guzzle/Log/ArrayLogAdapter.php | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/apps/files_external/3rdparty/aws-sdk-php/Guzzle/Log/ArrayLogAdapter.php b/apps/files_external/3rdparty/aws-sdk-php/Guzzle/Log/ArrayLogAdapter.php deleted file mode 100644 index a70fc8d4230..00000000000 --- a/apps/files_external/3rdparty/aws-sdk-php/Guzzle/Log/ArrayLogAdapter.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php - -namespace Guzzle\Log; - -/** - * Stores all log messages in an array - */ -class ArrayLogAdapter implements LogAdapterInterface -{ - protected $logs = array(); - - public function log($message, $priority = LOG_INFO, $extras = array()) - { - $this->logs[] = array('message' => $message, 'priority' => $priority, 'extras' => $extras); - } - - /** - * Get logged entries - * - * @return array - */ - public function getLogs() - { - return $this->logs; - } - - /** - * Clears logged entries - */ - public function clearLogs() - { - $this->logs = array(); - } -} |