PATH:
home
/
lab2454c
/
foreclass.com
/
wp-content
/
plugins
/
updraftplus
/
vendor
/
guzzle
/
guzzle
/
src
/
Guzzle
/
Log
<?php namespace Guzzle\Log; /** * Stores all log messages in an array */ class ArrayLogAdapter implements LogAdapterInterface { protected $logs = array(); public function log($message, $priority = LOG_INFO, $extras = array()) { $this->logs[] = array('message' => $message, 'priority' => $priority, 'extras' => $extras); } /** * Get logged entries * * @return array */ public function getLogs() { return $this->logs; } /** * Clears logged entries */ public function clearLogs() { $this->logs = array(); } }
[-] Zf1LogAdapter.php
[edit]
[-] composer.json
[edit]
[+]
..
[-] ClosureLogAdapter.php
[edit]
[-] ArrayLogAdapter.php
[edit]
[-] Zf2LogAdapter.php
[edit]
[-] MessageFormatter.php
[edit]
[-] LogAdapterInterface.php
[edit]
[-] AbstractLogAdapter.php
[edit]
[-] MonologLogAdapter.php
[edit]
[-] PsrLogAdapter.php
[edit]