|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| log ($message, $priority=LOG_INFO, $extras=array()) | |
Adapter class that allows Guzzle to log data to various logging implementations.
Definition at line 8 of file LogAdapterInterface.php.
| Guzzle\Log\LogAdapterInterface::log | ( | $message, | |
$priority = LOG_INFO, |
|||
$extras = array() |
|||
| ) |
Log a message at a priority
| string | $message | Message to log |
| integer | $priority | Priority of message (use the \LOG_* constants of 0 - 7) |
| array | $extras | Extra information to log in event |
Implemented in Guzzle\Log\PsrLogAdapter, Guzzle\Log\MonologLogAdapter, Guzzle\Log\Zf1LogAdapter, Guzzle\Log\ClosureLogAdapter, Guzzle\Log\Zf2LogAdapter, and Guzzle\Log\ArrayLogAdapter.