Class ClosureLogAdapter
Logs messages using Closures. Closures combined with filtering can trigger application events based on log messages.
-
Guzzle\Log\AbstractLogAdapter
implements
Guzzle\Log\LogAdapterInterface
-
Guzzle\Log\ClosureLogAdapter
Methods summary
public
|
|
public
|
#
log( string $message, integer $priority = LOG_INFO, array $extras = array() )
Log a message at a priority
Log a message at a priority
Parameters
- $message
- Message to log
- $priority
- Priority of message (use the \LOG_* constants of 0 - 7)
- $extras
- Extra information to log in event
|