/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/ |
H A D | RedisPubSubHandler.php | 55 protected function write(array $record): void argument 57 $this->redisClient->publish($this->channelKey, $record["formatted"]);
|
H A D | RollbarHandler.php | 76 protected function write(array $record): void argument 84 $context = $record['context']; 85 $context = array_merge($context, $record['extra'], [ 86 'level' => $this->levelMap[$record['level']], 87 'monolog_level' => $record['level_name'], 88 'channel' => $record['channel'], 89 'datetime' => $record['datetime']->format('U'), 97 $toLog = $record['message'];
|
H A D | RotatingFileHandler.php | 113 protected function write(array $record): void argument 120 if ($this->nextRotation <= $record['datetime']) { 125 parent::write($record);
|
H A D | SamplingHandler.php | 65 public function isHandling(array $record): bool argument 67 return $this->getHandler($record)->isHandling($record); 70 public function handle(array $record): bool argument 72 if ($this->isHandling($record) && mt_rand(1, $this->factor) === 1) { 75 $record = $this->processRecord($record); 78 $this->getHandler($record)->handle($record); 93 public function getHandler(array $record = null) argument 96 $this->handler = ($this->handler)($record, $this);
|
H A D | SlackHandler.php | 110 protected function generateDataStream(array $record): string argument 112 $content = $this->buildContent($record); 122 private function buildContent(array $record): string argument 124 $dataArray = $this->prepareContentData($record); 133 protected function prepareContentData(array $record): array argument 135 $dataArray = $this->slackRecord->getSlackData($record); 162 protected function write(array $record): void argument 164 parent::write($record);
|
H A D | SlackWebhookHandler.php | 93 protected function write(array $record): void argument 95 $postData = $this->slackRecord->getSlackData($record);
|
H A D | SocketHandler.php | 95 protected function write(array $record): void argument 98 $data = $this->generateDataStream($record); 348 protected function generateDataStream(array $record): string argument 350 return (string) $record['formatted'];
|
H A D | SqsHandler.php | 46 protected function write(array $record): void argument 48 if (!isset($record['formatted']) || 'string' !== gettype($record['formatted'])) { 49 …andler accepts only formatted records as a string' . Utils::getRecordMessageForException($record)); 52 $messageBody = $record['formatted'];
|
H A D | StreamHandler.php | 128 protected function write(array $record): void argument 133 …his may be caused by a premature call to close().' . Utils::getRecordMessageForException($record)); 146 …pened in append mode: '.$this->errorMessage, $url) . Utils::getRecordMessageForException($record)); 154 …row new \LogicException('No stream was opened yet' . Utils::getRecordMessageForException($record)); 162 $this->streamWrite($stream, $record); 172 * @param array $record 176 protected function streamWrite($stream, array $record): void argument 178 fwrite($stream, (string) $record['formatted']);
|
H A D | SwiftMailerHandler.php | 87 $record = reset($records); 88 … of Swift_Message or a callable returning it' . ($record ? Utils::getRecordMessageForException($re…
|
H A D | SyslogHandler.php | 61 protected function write(array $record): void argument 64 …this->ident.'" and facility "'.$this->facility.'"' . Utils::getRecordMessageForException($record)); 66 syslog($this->logLevels[$record['level']], (string) $record['formatted']);
|
H A D | SyslogUdpHandler.php | 70 protected function write(array $record): void argument 72 $lines = $this->splitMessageIntoLines($record['formatted']); 74 … $header = $this->makeCommonSyslogHeader($this->logLevels[$record['level']], $record['datetime']);
|
H A D | TestHandler.php | 130 …* @param string|array $record Either a message string or an array containing message and optionall… 136 public function hasRecord($record, $level): bool argument 138 if (is_string($record)) { 139 $record = array('message' => $record); 142 return $this->hasRecordThatPasses(function ($rec) use ($record) { 143 if ($rec['message'] !== $record['message']) { 146 if (isset($record['context']) && $rec['context'] !== $record['context']) { 205 protected function write(array $record): void argument 207 $this->recordsByLevel[$record['level']][] = $record; 208 $this->records[] = $record;
|
H A D | WhatFailureGroupHandler.php | 27 public function handle(array $record): bool argument 31 $record = $this->processRecord($record); 36 $handler->handle($record); 52 foreach ($records as $record) { 53 $processed[] = $this->processRecord($record);
|
H A D | ZendMonitorHandler.php | 62 protected function write(array $record): void argument 65 Logger::getLevelName($record['level']), 66 $record['message'], 67 $record['formatted'], 68 $this->levelMap[$record['level']]
|
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/Slack/ |
H A D | SlackRecord.php | 127 public function getSlackData(array $record): array argument 130 $record = $this->removeExcludedFields($record); 142 $message = $this->formatter->format($record); 144 $message = $record['message']; 154 'ts' => $record['datetime']->getTimestamp(), 160 $attachment['title'] = $record['level_name']; 168 if (empty($record[$key])) { 175 $record[$key] 367 private function removeExcludedFields(array $record): array argument 371 $node = &$record; [all …]
|
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/ |
H A D | Logger.php | 294 $record = null; 297 if (null === $record) { 305 $record = [ 317 $record = $processor($record); 320 $this->handleException($e, $record); 332 $this->handleException($e, $record); 338 return null !== $record; 452 $record = [ 457 if ($handler->isHandling($record)) { 630 * @param array $record [all …]
|
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Processor/ |
H A D | GitProcessor.php | 46 public function __invoke(array $record): array argument 49 if ($record['level'] < $this->level) { 50 return $record; 53 $record['extra']['git'] = self::getGitInfo(); 55 return $record;
|
H A D | HostnameProcessor.php | 30 public function __invoke(array $record): array argument 32 $record['extra']['hostname'] = self::$host; 34 return $record;
|
H A D | IntrospectionProcessor.php | 61 public function __invoke(array $record): array argument 64 if ($record['level'] < $this->level) { 65 return $record; 98 $record['extra'] = array_merge( 99 $record['extra'], 109 return $record;
|
H A D | MemoryPeakUsageProcessor.php | 25 public function __invoke(array $record): array argument 33 $record['extra']['memory_peak_usage'] = $usage; 35 return $record;
|
H A D | MemoryUsageProcessor.php | 25 public function __invoke(array $record): array argument 33 $record['extra']['memory_usage'] = $usage; 35 return $record;
|
H A D | MercurialProcessor.php | 45 public function __invoke(array $record): array argument 48 if ($record['level'] < $this->level) { 49 return $record; 52 $record['extra']['hg'] = self::getMercurialInfo(); 54 return $record;
|
H A D | ProcessIdProcessor.php | 24 public function __invoke(array $record): array argument 26 $record['extra']['process_id'] = getmypid(); 28 return $record;
|
H A D | ProcessorInterface.php | 29 public function __invoke(array $record); argument
|