/
home
/
desid573
/
public_html
/
tollster
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
/home/desid573/public_html/tollster/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
4127
0644
edit
dl
rm
AbstractProcessingHandler.php
1498
0644
edit
dl
rm
AbstractSyslogHandler.php
3382
0644
edit
dl
rm
AmqpHandler.php
3866
0644
edit
dl
rm
BrowserConsoleHandler.php
7162
0644
edit
dl
rm
BufferHandler.php
3436
0644
edit
dl
rm
ChromePHPHandler.php
5623
0644
edit
dl
rm
CouchDBHandler.php
1953
0644
edit
dl
rm
CubeHandler.php
4631
0644
edit
dl
rm
DeduplicationHandler.php
5479
0644
edit
dl
rm
DoctrineCouchDBHandler.php
1000
0644
edit
dl
rm
DynamoDbHandler.php
2440
0644
edit
dl
rm
ElasticSearchHandler.php
3417
0644
edit
dl
rm
ErrorLogHandler.php
2380
0644
edit
dl
rm
FilterHandler.php
4425
0644
edit
dl
rm
FingersCrossedHandler.php
5637
0644
edit
dl
rm
FirePHPHandler.php
5466
0644
edit
dl
rm
FleepHookHandler.php
3363
0644
edit
dl
rm
FlowdockHandler.php
3357
0644
edit
dl
rm
GelfHandler.php
2068
0644
edit
dl
rm
GroupHandler.php
2496
0644
edit
dl
rm
HandlerInterface.php
2597
0644
edit
dl
rm
HandlerWrapper.php
2156
0644
edit
dl
rm
HipChatHandler.php
10347
0644
edit
dl
rm
IFTTTHandler.php
2118
0644
edit
dl
rm
LogEntriesHandler.php
1601
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
6015
0644
edit
dl
rm
NullHandler.php
953
0644
edit
dl
rm
PHPConsoleHandler.php
9990
0644
edit
dl
rm
PsrHandler.php
1433
0644
edit
dl
rm
PushoverHandler.php
6629
0644
edit
dl
rm
RavenHandler.php
7115
0644
edit
dl
rm
RedisHandler.php
2889
0644
edit
dl
rm
RollbarHandler.php
3812
0644
edit
dl
rm
RotatingFileHandler.php
5687
0644
edit
dl
rm
SamplingHandler.php
2674
0644
edit
dl
rm
SlackbotHandler.php
2029
0644
edit
dl
rm
SlackHandler.php
6381
0644
edit
dl
rm
SlackWebhookHandler.php
3737
0644
edit
dl
rm
SocketHandler.php
8884
0644
edit
dl
rm
StreamHandler.php
5203
0644
edit
dl
rm
SwiftMailerHandler.php
3095
0644
edit
dl
rm
SyslogHandler.php
1848
0644
edit
dl
rm
SyslogUdpHandler.php
2580
0644
edit
dl
rm
TestHandler.php
4676
0644
edit
dl
rm
WhatFailureGroupHandler.php
1485
0644
edit
dl
rm
ZendMonitorHandler.php
2240
0644
edit
dl
rm
Edit:
/home/desid573/public_html/tollster/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php
(4127B)
<?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\Logger; use Monolog\Formatter\FormatterInterface; use Monolog\Formatter\LineFormatter; /** * Base Handler class providing the Handler structure * * @author Jordi Boggiano <j.boggiano@seld.be> */ abstract class AbstractHandler implements HandlerInterface { protected $level = Logger::DEBUG; protected $bubble = true; /** * @var FormatterInterface */ protected $formatter; protected $processors = array(); /** * @param int $level The minimum logging level at which this handler will be triggered * @param Boolean $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 Boolean $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 Boolean 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 } } /** * Gets the default formatter. * * @return FormatterInterface */ protected function getDefaultFormatter() { return new LineFormatter(); } }
Save
cmd:
run