diff options
Diffstat (limited to 'vendor/guzzle/guzzle/src/Guzzle/Log/LogAdapterInterface.php')
-rw-r--r-- | vendor/guzzle/guzzle/src/Guzzle/Log/LogAdapterInterface.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/guzzle/guzzle/src/Guzzle/Log/LogAdapterInterface.php b/vendor/guzzle/guzzle/src/Guzzle/Log/LogAdapterInterface.php new file mode 100644 index 0000000..d7ac4ea --- /dev/null +++ b/vendor/guzzle/guzzle/src/Guzzle/Log/LogAdapterInterface.php @@ -0,0 +1,18 @@ +<?php + +namespace Guzzle\Log; + +/** + * Adapter class that allows Guzzle to log data to various logging implementations. + */ +interface LogAdapterInterface +{ + /** + * Log a message at a priority + * + * @param string $message Message to log + * @param integer $priority Priority of message (use the \LOG_* constants of 0 - 7) + * @param array $extras Extra information to log in event + */ + public function log($message, $priority = LOG_INFO, $extras = array()); +} |