Class Guzzle\Log\ClosureLogAdapter

InheritanceGuzzle\Log\ClosureLogAdapter » Guzzle\Log\AbstractLogAdapter
ImplementsGuzzle\Log\LogAdapterInterface

Logs messages using Closures. Closures combined with filtering can trigger application events based on log messages.

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$log Guzzle\Log\AbstractLogAdapter

Method Details

__construct() public method

public void __construct ( $logObject )
$logObject
log() public method

public void log ( $message, $priority LOG_INFO, $extras = [] )
$message
$priority
$extras