Documentation

ArrayLogAdapter
in package
implements LogAdapterInterface

Stores all log messages in an array

Interfaces, Classes and Traits

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

Table of Contents

$logs  : mixed
clearLogs()  : mixed
Clears logged entries
getLogs()  : array<string|int, mixed>
Get logged entries
log()  : mixed
Log a message at a priority

Properties

Methods

clearLogs()

Clears logged entries

public clearLogs() : mixed
Return values
mixed

getLogs()

Get logged entries

public getLogs() : array<string|int, mixed>
Return values
array<string|int, mixed>

log()

Log a message at a priority

public log(mixed $message[, mixed $priority = LOG_INFO ][, mixed $extras = array() ]) : mixed
Parameters
$message : mixed

Message to log

$priority : mixed = LOG_INFO

Priority of message (use the \LOG_* constants of 0 - 7)

$extras : mixed = array()

Extra information to log in event

Return values
mixed

Search results