Home
last modified time | relevance | path

Searched refs:record (Results 76 – 100 of 216) sorted by path

123456789

/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
H A DRedisPubSubHandler.php55 protected function write(array $record): void argument
57 $this->redisClient->publish($this->channelKey, $record["formatted"]);
H A DRollbarHandler.php76 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 DRotatingFileHandler.php113 protected function write(array $record): void argument
120 if ($this->nextRotation <= $record['datetime']) {
125 parent::write($record);
H A DSamplingHandler.php65 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 DSlackHandler.php110 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 DSlackWebhookHandler.php93 protected function write(array $record): void argument
95 $postData = $this->slackRecord->getSlackData($record);
H A DSocketHandler.php95 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 DSqsHandler.php46 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 DStreamHandler.php128 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 DSwiftMailerHandler.php87 $record = reset($records);
88 … of Swift_Message or a callable returning it' . ($record ? Utils::getRecordMessageForException($re…
H A DSyslogHandler.php61 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 DSyslogUdpHandler.php70 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 DTestHandler.php130 …* @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 DWhatFailureGroupHandler.php27 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 DZendMonitorHandler.php62 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 DSlackRecord.php127 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 DLogger.php294 $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 DGitProcessor.php46 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 DHostnameProcessor.php30 public function __invoke(array $record): array argument
32 $record['extra']['hostname'] = self::$host;
34 return $record;
H A DIntrospectionProcessor.php61 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 DMemoryPeakUsageProcessor.php25 public function __invoke(array $record): array argument
33 $record['extra']['memory_peak_usage'] = $usage;
35 return $record;
H A DMemoryUsageProcessor.php25 public function __invoke(array $record): array argument
33 $record['extra']['memory_usage'] = $usage;
35 return $record;
H A DMercurialProcessor.php45 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 DProcessIdProcessor.php24 public function __invoke(array $record): array argument
26 $record['extra']['process_id'] = getmypid();
28 return $record;
H A DProcessorInterface.php29 public function __invoke(array $record); argument

123456789