X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/vendor/monolog/monolog/src/Monolog/Handler
home
/
prisjneg
/
public_html
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
๐
..
๐
AbstractHandler.php
(2.61 KB)
๐
AbstractProcessingHandler.php
(1.46 KB)
๐
AbstractSyslogHandler.php
(3.15 KB)
๐
AmqpHandler.php
(4.95 KB)
๐
BrowserConsoleHandler.php
(9.02 KB)
๐
BufferHandler.php
(4.55 KB)
๐
ChromePHPHandler.php
(4.79 KB)
๐
CouchDBHandler.php
(2.55 KB)
๐
CubeHandler.php
(5.32 KB)
๐
Curl
๐
DeduplicationHandler.php
(6.25 KB)
๐
DoctrineCouchDBHandler.php
(1.12 KB)
๐
DynamoDbHandler.php
(1.89 KB)
๐
ElasticaHandler.php
(3.66 KB)
๐
ElasticsearchHandler.php
(7.1 KB)
๐
ErrorLogHandler.php
(2.61 KB)
๐
FallbackGroupHandler.php
(1.68 KB)
๐
FilterHandler.php
(6.92 KB)
๐
FingersCrossed
๐
FingersCrossedHandler.php
(7.99 KB)
๐
FirePHPHandler.php
(5.03 KB)
๐
FleepHookHandler.php
(3.44 KB)
๐
FlowdockHandler.php
(3.4 KB)
๐
FormattableHandlerInterface.php
(757 B)
๐
FormattableHandlerTrait.php
(1.24 KB)
๐
GelfHandler.php
(1.42 KB)
๐
GroupHandler.php
(3.19 KB)
๐
Handler.php
(1.21 KB)
๐
HandlerInterface.php
(2.71 KB)
๐
HandlerWrapper.php
(3.28 KB)
๐
IFTTTHandler.php
(2.22 KB)
๐
InsightOpsHandler.php
(2.04 KB)
๐
LogEntriesHandler.php
(1.86 KB)
๐
LogglyHandler.php
(4.02 KB)
๐
LogmaticHandler.php
(2.57 KB)
๐
MailHandler.php
(2.19 KB)
๐
MandrillHandler.php
(2.48 KB)
๐
MissingExtensionException.php
(473 B)
๐
MongoDBHandler.php
(2.31 KB)
๐
NativeMailerHandler.php
(5.08 KB)
๐
NewRelicHandler.php
(5.7 KB)
๐
NoopHandler.php
(908 B)
๐
NullHandler.php
(1.3 KB)
๐
OverflowHandler.php
(4.21 KB)
๐
PHPConsoleHandler.php
(12.01 KB)
๐
ProcessHandler.php
(5.36 KB)
๐
ProcessableHandlerInterface.php
(1.16 KB)
๐
ProcessableHandlerTrait.php
(1.58 KB)
๐
PsrHandler.php
(2.41 KB)
๐
PushoverHandler.php
(7.92 KB)
๐
RedisHandler.php
(2.67 KB)
๐
RedisPubSubHandler.php
(1.64 KB)
๐
RollbarHandler.php
(3.48 KB)
๐
RotatingFileHandler.php
(6.97 KB)
๐
SamplingHandler.php
(3.83 KB)
๐
SendGridHandler.php
(3.02 KB)
๐
Slack
๐
SlackHandler.php
(6.99 KB)
๐
SlackWebhookHandler.php
(3.79 KB)
๐
SocketHandler.php
(11.84 KB)
๐
SqsHandler.php
(1.71 KB)
๐
StreamHandler.php
(7.96 KB)
๐
SymfonyMailerHandler.php
(3.45 KB)
๐
SyslogHandler.php
(1.65 KB)
๐
SyslogUdp
๐
SyslogUdpHandler.php
(4.6 KB)
๐
TelegramBotHandler.php
(9.22 KB)
๐
TestHandler.php
(6.6 KB)
๐
WebRequestRecognizerTrait.php
(504 B)
๐
WhatFailureGroupHandler.php
(1.87 KB)
๐
ZendMonitorHandler.php
(2.78 KB)
Editing: GroupHandler.php
<?php declare(strict_types=1); /* * This file is part of the Monolog package. * * (c) Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Monolog\Handler; use Monolog\Formatter\FormatterInterface; use Monolog\ResettableInterface; use Monolog\LogRecord; /** * Forwards records to multiple handlers * * @author Lenar Lรตhmus <lenar@city.ee> */ class GroupHandler extends Handler implements ProcessableHandlerInterface, ResettableInterface { use ProcessableHandlerTrait; /** @var HandlerInterface[] */ protected array $handlers; protected bool $bubble; /** * @param HandlerInterface[] $handlers Array of Handlers. * @param bool $bubble Whether the messages that are handled can bubble up the stack or not * * @throws \InvalidArgumentException if an unsupported handler is set */ public function __construct(array $handlers, bool $bubble = true) { foreach ($handlers as $handler) { if (!$handler instanceof HandlerInterface) { throw new \InvalidArgumentException('The first argument of the GroupHandler must be an array of HandlerInterface instances.'); } } $this->handlers = $handlers; $this->bubble = $bubble; } /** * @inheritDoc */ public function isHandling(LogRecord $record): bool { foreach ($this->handlers as $handler) { if ($handler->isHandling($record)) { return true; } } return false; } /** * @inheritDoc */ public function handle(LogRecord $record): bool { if (\count($this->processors) > 0) { $record = $this->processRecord($record); } foreach ($this->handlers as $handler) { $handler->handle(clone $record); } return false === $this->bubble; } /** * @inheritDoc */ public function handleBatch(array $records): void { if (\count($this->processors) > 0) { $processed = []; foreach ($records as $record) { $processed[] = $this->processRecord($record); } $records = $processed; } foreach ($this->handlers as $handler) { $handler->handleBatch(array_map(fn ($record) => clone $record, $records)); } } public function reset(): void { $this->resetProcessors(); foreach ($this->handlers as $handler) { if ($handler instanceof ResettableInterface) { $handler->reset(); } } } public function close(): void { parent::close(); foreach ($this->handlers as $handler) { $handler->close(); } } /** * @inheritDoc */ public function setFormatter(FormatterInterface $formatter): HandlerInterface { foreach ($this->handlers as $handler) { if ($handler instanceof FormattableHandlerInterface) { $handler->setFormatter($formatter); } } return $this; } }
Upload File
Create Folder