|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct (LoggerInterface $logObject) | |
| log ($message, $priority=LOG_INFO, $extras=array()) | |
Public Member Functions inherited from Guzzle\Log\AbstractLogAdapter | |
| getLogObject () | |
Additional Inherited Members | |
Protected Attributes inherited from Guzzle\Log\AbstractLogAdapter | |
| $log | |
PSR-3 log adapter
https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md
Definition at line 13 of file PsrLogAdapter.php.
| Guzzle\Log\PsrLogAdapter::__construct | ( | LoggerInterface | $logObject | ) |
Definition at line 27 of file PsrLogAdapter.php.
References Guzzle\Log\PsrLogAdapter\log().
| Guzzle\Log\PsrLogAdapter::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 |
Implements Guzzle\Log\LogAdapterInterface.
Definition at line 32 of file PsrLogAdapter.php.
Referenced by Guzzle\Log\PsrLogAdapter\__construct().