Open Journal Systems  3.3.0
Guzzle\Log\Zf1LogAdapter Class Reference
Inheritance diagram for Guzzle\Log\Zf1LogAdapter:
Guzzle\Log\AbstractLogAdapter Guzzle\Log\LogAdapterInterface

Public Member Functions

 __construct (\Zend_Log $logObject)
 
 log ($message, $priority=LOG_INFO, $extras=array())
 
- Public Member Functions inherited from Guzzle\Log\AbstractLogAdapter
 getLogObject ()
 

Additional Inherited Members

- Protected Attributes inherited from Guzzle\Log\AbstractLogAdapter
 $log
 

Detailed Description

Adapts a Zend Framework 1 logger object

Deprecated:
@codeCoverageIgnore

Definition at line 12 of file Zf1LogAdapter.php.

Constructor & Destructor Documentation

◆ __construct()

Guzzle\Log\Zf1LogAdapter::__construct ( \Zend_Log  $logObject)

Member Function Documentation

◆ log()

Guzzle\Log\Zf1LogAdapter::log (   $message,
  $priority = LOG_INFO,
  $extras = array() 
)

Log a message at a priority

Parameters
string$messageMessage to log
integer$priorityPriority of message (use the \LOG_* constants of 0 - 7)
array$extrasExtra information to log in event

Implements Guzzle\Log\LogAdapterInterface.

Definition at line 20 of file Zf1LogAdapter.php.

Referenced by Guzzle\Log\Zf1LogAdapter\__construct().


The documentation for this class was generated from the following file: