Open Journal Systems  3.3.0
Guzzle\Log\LogAdapterInterface Interface Reference
Inheritance diagram for Guzzle\Log\LogAdapterInterface:
Guzzle\Log\AbstractLogAdapter Guzzle\Log\ArrayLogAdapter Guzzle\Log\ClosureLogAdapter Guzzle\Log\MonologLogAdapter Guzzle\Log\PsrLogAdapter Guzzle\Log\Zf1LogAdapter Guzzle\Log\Zf2LogAdapter

Public Member Functions

 log ($message, $priority=LOG_INFO, $extras=array())
 

Detailed Description

Adapter class that allows Guzzle to log data to various logging implementations.

Definition at line 8 of file LogAdapterInterface.php.

Member Function Documentation

◆ log()

Guzzle\Log\LogAdapterInterface::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

Implemented in Guzzle\Log\PsrLogAdapter, Guzzle\Log\MonologLogAdapter, Guzzle\Log\Zf1LogAdapter, Guzzle\Log\ClosureLogAdapter, Guzzle\Log\Zf2LogAdapter, and Guzzle\Log\ArrayLogAdapter.


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