���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/righteousmag.com/wp-content__a986334/plugins/cloudflare/src/Integration/DefaultLogger.php
���ѧ٧ѧ�
<?php namespace CF\Integration; use Psr\Log\AbstractLogger; use Psr\Log\LogLevel; use Psr\Log\LoggerInterface; class DefaultLogger extends AbstractLogger implements LoggerInterface { private $debug; const PREFIX = '[Cloudflare]'; /** * @param bool|false $debug */ public function __construct($debug = false) { $this->debug = $debug; } /** * Logs with an arbitrary level. * * @param mixed $level * @param string $message * @param array $context */ public function log($level, $message, array $context = array()) { return error_log(self::PREFIX.' '.strtoupper($level).': '.$message.' '. (!empty($context) ? print_r($context, true) : '')); } /** * Detailed debug information. * * @param string $message * @param array $context */ public function debug($message, array $context = array()) { if ($this->debug) { return $this->log(LogLevel::DEBUG, $message, $context); } } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.2 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�