Current Path: > > opt > cloudlinux > alt-php55 > root > usr > share > pear > Symfony > Bridge > Monolog > Handler >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
ChromePhpHandler.php | File | 1865 bytes | December 18 2019 11:24:06. | |
ConsoleHandler.php | File | 5853 bytes | December 18 2019 11:24:06. | |
DebugHandler.php | File | 1463 bytes | December 18 2019 11:24:06. | |
FirePHPHandler.php | File | 1938 bytes | December 18 2019 11:24:06. | |
SwiftMailerHandler.php | File | 1910 bytes | December 18 2019 11:24:06. |
<?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\Bridge\Monolog\Handler; use Monolog\Logger; use Monolog\Handler\TestHandler; use Symfony\Component\HttpKernel\Log\DebugLoggerInterface; /** * DebugLogger. * * @author Jordi Boggiano <j.boggiano@seld.be> */ class DebugHandler extends TestHandler implements DebugLoggerInterface { /** * {@inheritdoc} */ public function getLogs() { $records = array(); foreach ($this->records as $record) { $records[] = array( 'timestamp' => $record['datetime']->getTimestamp(), 'message' => $record['message'], 'priority' => $record['level'], 'priorityName' => $record['level_name'], 'context' => $record['context'], ); } return $records; } /** * {@inheritdoc} */ public function countErrors() { $cnt = 0; $levels = array(Logger::ERROR, Logger::CRITICAL, Logger::ALERT, Logger::EMERGENCY); foreach ($levels as $level) { if (isset($this->recordsByLevel[$level])) { $cnt += count($this->recordsByLevel[$level]); } } return $cnt; } }
SILENT KILLER Tool