/
home
/
techb158
/
exp.abdallabala.com
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
/home/techb158/exp.abdallabala.com/vendor/monolog/monolog/src/Monolog/Handler
mkdir
upload
Name
Size
Mode
Actions
Curl/
-
0755
rm
FingersCrossed/
-
0755
rm
Slack/
-
0755
rm
SyslogUdp/
-
0755
rm
AbstractHandler.php
4390
0644
edit
dl
rm
AbstractProcessingHandler.php
1532
0644
edit
dl
rm
AbstractSyslogHandler.php
3371
0644
edit
dl
rm
AmqpHandler.php
3866
0644
edit
dl
rm
BrowserConsoleHandler.php
7401
0644
edit
dl
rm
BufferHandler.php
4030
0644
edit
dl
rm
ChromePHPHandler.php
5654
0644
edit
dl
rm
CouchDBHandler.php
1953
0644
edit
dl
rm
CubeHandler.php
4662
0644
edit
dl
rm
DeduplicationHandler.php
5479
0644
edit
dl
rm
DoctrineCouchDBHandler.php
1000
0644
edit
dl
rm
DynamoDbHandler.php
2485
0644
edit
dl
rm
ElasticSearchHandler.php
3413
0644
edit
dl
rm
ErrorLogHandler.php
2368
0644
edit
dl
rm
FilterHandler.php
5148
0644
edit
dl
rm
FingersCrossedHandler.php
6613
0644
edit
dl
rm
FirePHPHandler.php
5462
0644
edit
dl
rm
FleepHookHandler.php
3363
0644
edit
dl
rm
FlowdockHandler.php
3382
0644
edit
dl
rm
FormattableHandlerInterface.php
923
0644
edit
dl
rm
FormattableHandlerTrait.php
1394
0644
edit
dl
rm
GelfHandler.php
1994
0644
edit
dl
rm
GroupHandler.php
2793
0644
edit
dl
rm
HandlerInterface.php
2591
0644
edit
dl
rm
HandlerWrapper.php
2366
0644
edit
dl
rm
HipChatHandler.php
10999
0644
edit
dl
rm
IFTTTHandler.php
2139
0644
edit
dl
rm
InsightOpsHandler.php
1874
0644
edit
dl
rm
LogEntriesHandler.php
1615
0644
edit
dl
rm
LogglyHandler.php
2619
0644
edit
dl
rm
MailHandler.php
1622
0644
edit
dl
rm
MandrillHandler.php
2156
0644
edit
dl
rm
MissingExtensionException.php
450
0644
edit
dl
rm
MongoDBHandler.php
1606
0644
edit
dl
rm
NativeMailerHandler.php
5206
0644
edit
dl
rm
NewRelicHandler.php
6246
0644
edit
dl
rm
NullHandler.php
953
0644
edit
dl
rm
PHPConsoleHandler.php
10027
0644
edit
dl
rm
ProcessableHandlerInterface.php
1017
0644
edit
dl
rm
ProcessableHandlerTrait.php
1599
0644
edit
dl
rm
PsrHandler.php
1433
0644
edit
dl
rm
PushoverHandler.php
6626
0644
edit
dl
rm
RavenHandler.php
7414
0644
edit
dl
rm
RedisHandler.php
2960
0644
edit
dl
rm
RollbarHandler.php
3942
0644
edit
dl
rm
RotatingFileHandler.php
5936
0644
edit
dl
rm
SamplingHandler.php
3284
0644
edit
dl
rm
SlackbotHandler.php
2380
0644
edit
dl
rm
SlackHandler.php
6479
0644
edit
dl
rm
SlackWebhookHandler.php
3845
0644
edit
dl
rm
SocketHandler.php
9812
0644
edit
dl
rm
StreamHandler.php
5319
0644
edit
dl
rm
SwiftMailerHandler.php
3436
0644
edit
dl
rm
SyslogHandler.php
1843
0644
edit
dl
rm
SyslogUdpHandler.php
3220
0644
edit
dl
rm
TestHandler.php
5376
0644
edit
dl
rm
WhatFailureGroupHandler.php
1841
0644
edit
dl
rm
ZendMonitorHandler.php
3002
0644
edit
dl
rm
Edit:
/home/techb158/exp.abdallabala.com/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php
(4390B)
<?php /* * 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\Formatter\LineFormatter; use Monolog\Logger; use Monolog\ResettableInterface; /** * Base Handler class providing the Handler structure * * @author Jordi Boggiano <j.boggiano@seld.be> */ abstract class AbstractHandler implements HandlerInterface, ResettableInterface { protected $level = Logger::DEBUG; protected $bubble = true; /** * @var FormatterInterface */ protected $formatter; protected $processors = array(); /** * @param int|string $level The minimum logging level at which this handler will be triggered * @param bool $bubble Whether the messages that are handled can bubble up the stack or not */ public function __construct($level = Logger::DEBUG, $bubble = true) { $this->setLevel($level); $this->bubble = $bubble; } /** * {@inheritdoc} */ public function isHandling(array $record) { return $record['level'] >= $this->level; } /** * {@inheritdoc} */ public function handleBatch(array $records) { foreach ($records as $record) { $this->handle($record); } } /** * Closes the handler. * * This will be called automatically when the object is destroyed */ public function close() { } /** * {@inheritdoc} */ public function pushProcessor($callback) { if (!is_callable($callback)) { throw new \InvalidArgumentException('Processors must be valid callables (callback or object with an __invoke method), '.var_export($callback, true).' given'); } array_unshift($this->processors, $callback); return $this; } /** * {@inheritdoc} */ public function popProcessor() { if (!$this->processors) { throw new \LogicException('You tried to pop from an empty processor stack.'); } return array_shift($this->processors); } /** * {@inheritdoc} */ public function setFormatter(FormatterInterface $formatter) { $this->formatter = $formatter; return $this; } /** * {@inheritdoc} */ public function getFormatter() { if (!$this->formatter) { $this->formatter = $this->getDefaultFormatter(); } return $this->formatter; } /** * Sets minimum logging level at which this handler will be triggered. * * @param int|string $level Level or level name * @return self */ public function setLevel($level) { $this->level = Logger::toMonologLevel($level); return $this; } /** * Gets minimum logging level at which this handler will be triggered. * * @return int */ public function getLevel() { return $this->level; } /** * Sets the bubbling behavior. * * @param bool $bubble true means that this handler allows bubbling. * false means that bubbling is not permitted. * @return self */ public function setBubble($bubble) { $this->bubble = $bubble; return $this; } /** * Gets the bubbling behavior. * * @return bool true means that this handler allows bubbling. * false means that bubbling is not permitted. */ public function getBubble() { return $this->bubble; } public function __destruct() { try { $this->close(); } catch (\Exception $e) { // do nothing } catch (\Throwable $e) { // do nothing } } public function reset() { foreach ($this->processors as $processor) { if ($processor instanceof ResettableInterface) { $processor->reset(); } } } /** * Gets the default formatter. * * @return FormatterInterface */ protected function getDefaultFormatter() { return new LineFormatter(); } }
Save
cmd:
run