Class ArrayLogAdapter
Stores all log messages in an array
-
Guzzle\Log\ArrayLogAdapter
implements
Guzzle\Log\LogAdapterInterface
Methods summary
public
|
#
log( string $message, integer $priority = LOG_INFO, mixed $extras = null )
Log a message at a priority
Log a message at a priority
Parameters
- $message
string $message Message to log
- $priority
integer $priority Priority of message (use the \LOG_* constants of 0 - 7)
- $extras
mixed $extras Extra information to log in event
Implementation of
|
public
array
|
#
getLogs( )
Get logged entries
Returns
array
|
public
|
|
Properties summary
protected
array
|
$logs
|
array() |
|