/home/techb158/exp.abdallabala.com/vendor/monolog/monolog/src/Monolog/Handler
NameSizeModeActions
Curl/-0755rm
FingersCrossed/-0755rm
Slack/-0755rm
SyslogUdp/-0755rm
AbstractHandler.php43900644editdlrm
AbstractProcessingHandler.php15320644editdlrm
AbstractSyslogHandler.php33710644editdlrm
AmqpHandler.php38660644editdlrm
BrowserConsoleHandler.php74010644editdlrm
BufferHandler.php40300644editdlrm
ChromePHPHandler.php56540644editdlrm
CouchDBHandler.php19530644editdlrm
CubeHandler.php46620644editdlrm
DeduplicationHandler.php54790644editdlrm
DoctrineCouchDBHandler.php10000644editdlrm
DynamoDbHandler.php24850644editdlrm
ElasticSearchHandler.php34130644editdlrm
ErrorLogHandler.php23680644editdlrm
FilterHandler.php51480644editdlrm
FingersCrossedHandler.php66130644editdlrm
FirePHPHandler.php54620644editdlrm
FleepHookHandler.php33630644editdlrm
FlowdockHandler.php33820644editdlrm
FormattableHandlerInterface.php9230644editdlrm
FormattableHandlerTrait.php13940644editdlrm
GelfHandler.php19940644editdlrm
GroupHandler.php27930644editdlrm
HandlerInterface.php25910644editdlrm
HandlerWrapper.php23660644editdlrm
HipChatHandler.php109990644editdlrm
IFTTTHandler.php21390644editdlrm
InsightOpsHandler.php18740644editdlrm
LogEntriesHandler.php16150644editdlrm
LogglyHandler.php26190644editdlrm
MailHandler.php16220644editdlrm
MandrillHandler.php21560644editdlrm
MissingExtensionException.php4500644editdlrm
MongoDBHandler.php16060644editdlrm
NativeMailerHandler.php52060644editdlrm
NewRelicHandler.php62460644editdlrm
NullHandler.php9530644editdlrm
PHPConsoleHandler.php100270644editdlrm
ProcessableHandlerInterface.php10170644editdlrm
ProcessableHandlerTrait.php15990644editdlrm
PsrHandler.php14330644editdlrm
PushoverHandler.php66260644editdlrm
RavenHandler.php74140644editdlrm
RedisHandler.php29600644editdlrm
RollbarHandler.php39420644editdlrm
RotatingFileHandler.php59360644editdlrm
SamplingHandler.php32840644editdlrm
SlackbotHandler.php23800644editdlrm
SlackHandler.php64790644editdlrm
SlackWebhookHandler.php38450644editdlrm
SocketHandler.php98120644editdlrm
StreamHandler.php53190644editdlrm
SwiftMailerHandler.php34360644editdlrm
SyslogHandler.php18430644editdlrm
SyslogUdpHandler.php32200644editdlrm
TestHandler.php53760644editdlrm
WhatFailureGroupHandler.php18410644editdlrm
ZendMonitorHandler.php30020644editdlrm
Edit: /home/techb158/exp.abdallabala.com/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php (4390B)
* * 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 */ 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(); } }