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, 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
|