Open Journal Systems
3.3.0
|
Public Member Functions | |
clearLogs () | |
getLogs () | |
log ($message, $priority=LOG_INFO, $extras=array()) | |
Protected Attributes | |
$logs = array() | |
Stores all log messages in an array
Definition at line 8 of file ArrayLogAdapter.php.
Guzzle\Log\ArrayLogAdapter::clearLogs | ( | ) |
Clears logged entries
Definition at line 30 of file ArrayLogAdapter.php.
Guzzle\Log\ArrayLogAdapter::getLogs | ( | ) |
Get logged entries
Definition at line 22 of file ArrayLogAdapter.php.
References Guzzle\Log\ArrayLogAdapter\$logs.
Guzzle\Log\ArrayLogAdapter::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 12 of file ArrayLogAdapter.php.
|
protected |
Definition at line 10 of file ArrayLogAdapter.php.
Referenced by Guzzle\Log\ArrayLogAdapter\getLogs().