Home
last modified time | relevance | path

Searched refs:record (Results 26 – 50 of 216) sorted by relevance

123456789

/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
H A DDeduplicationHandler.php89 foreach ($this->buffer as $record) {
90 if ($record['level'] >= $this->deduplicationLevel) {
91 $passthru = $passthru || !$this->isDuplicate($record);
93 $this->appendRecord($record);
113 private function isDuplicate(array $record): bool argument
125 $timestampValidity = $record['datetime']->getTimestamp() - $this->time;
126 $expectedMessage = preg_replace('{[\r\n].*}', '', $record['message']);
131 …if ($level === $record['level_name'] && $message === $expectedMessage && $timestamp > $timestampVa…
182 private function appendRecord(array $record): void argument
184 …deduplicationStore, $record['datetime']->getTimestamp() . ':' . $record['level_name'] . ':' . preg…
H A DPsrHandler.php54 public function handle(array $record): bool argument
56 if (!$this->isHandling($record)) {
61 $formatted = $this->formatter->format($record);
62 … $this->logger->log(strtolower($record['level_name']), (string) $formatted, $record['context']);
64 … $this->logger->log(strtolower($record['level_name']), $record['message'], $record['context']);
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 DGroupHandler.php52 public function isHandling(array $record): bool argument
55 if ($handler->isHandling($record)) {
66 public function handle(array $record): bool argument
70 $record = $this->processRecord($record);
74 $handler->handle($record);
87 foreach ($records as $record) {
88 $processed[] = $this->processRecord($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 DFallbackGroupHandler.php30 public function handle(array $record): bool argument
34 $record = $this->processRecord($record);
38 $handler->handle($record);
55 foreach ($records as $record) {
56 $processed[] = $this->processRecord($record);
H A DFingersCrossedHandler.php110 public function isHandling(array $record): bool argument
131 public function handle(array $record): bool argument
135 $record = $this->processRecord($record);
139 $this->buffer[] = $record;
143 if ($this->activationStrategy->isHandlerActivated($record)) {
147 $this->getHandler($record)->handle($record);
192 $this->buffer = array_filter($this->buffer, function ($record) use ($level) {
193 return $record['level'] >= $level;
213 public function getHandler(array $record = null) argument
216 $this->handler = ($this->handler)($record, $this);
H A DElasticsearchHandler.php77 protected function write(array $record): void argument
79 $this->bulkSend([$record['formatted']]);
134 foreach ($records as $record) {
137 '_index' => $record['_index'],
138 '_type' => $record['_type'],
141 unset($record['_index'], $record['_type']);
143 $params['body'][] = $record;
H A DRedisHandler.php61 protected function write(array $record): void argument
64 $this->writeCapped($record);
66 $this->redisClient->rpush($this->redisKey, $record["formatted"]);
76 protected function writeCapped(array $record): void argument
81 ->rpush($this->redisKey, $record["formatted"])
87 $this->redisClient->transaction(function ($tx) use ($record, $redisKey, $capSize) {
88 $tx->rpush($redisKey, $record["formatted"]);
H A DFlowdockHandler.php92 protected function write(array $record): void argument
94 parent::write($record);
102 protected function generateDataStream(array $record): string argument
104 $content = $this->buildContent($record);
114 private function buildContent(array $record): string argument
116 return Utils::jsonEncode($record['formatted']['flowdock']);
H A DFleepHookHandler.php92 public function write(array $record): void argument
94 parent::write($record);
101 protected function generateDataStream(array $record): string argument
103 $content = $this->buildContent($record);
127 private function buildContent(array $record): string argument
130 'message' => $record['formatted'],
H A DHandlerInterface.php33 * @param array $record Partial log record containing only a level key
39 public function isHandling(array $record): bool; argument
51 * @param array $record The record to handle
57 public function handle(array $record): bool; argument
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 DChromePHPHandler.php88 foreach ($records as $record) {
89 if ($record['level'] < $this->level) {
93 $message = $this->processRecord($record);
118 protected function write(array $record): void argument
124 self::$json['rows'][] = $record['formatted'];
156 $record = [
165 … self::$json['rows'][count(self::$json['rows']) - 1] = $this->getFormatter()->format($record);
/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/quickstats/GEOIP/vendor/geoip2/geoip2/
H A DREADME.md127 $record = $reader->city('128.101.101.101');
129 print($record->country->isoCode . "\n"); // 'US'
138 print($record->postal->code . "\n"); // '55455'
158 if ($record->isAnonymous) { print "anon\n"; }
192 $record = $reader->domain('128.101.101.101');
194 print($record->domain . "\n"); // 'umn.edu'
222 print($record->city->confidence . "\n"); // 60
225 print($record->postal->code . "\n"); // '55455'
244 $record = $reader->isp('128.101.101.101');
286 $record = $client->city('128.101.101.101');
[all …]
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Formatter/
H A DElasticaFormatter.php51 public function format(array $record) argument
53 $record = parent::format($record);
55 return $this->getDocument($record);
77 protected function getDocument(array $record): Document argument
80 $document->setData($record);
H A DLogmaticFormatter.php53 public function format(array $record): string argument
56 $record["hostname"] = $this->hostname;
59 $record["appname"] = $this->appname;
62 $record["@marker"] = static::MARKERS;
64 return parent::format($record);
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/FingersCrossed/
H A DChannelLevelActivationStrategy.php69 public function isHandlerActivated(array $record): bool argument
71 if (isset($this->channelToActionLevel[$record['channel']])) {
72 return $record['level'] >= $this->channelToActionLevel[$record['channel']];
75 return $record['level'] >= $this->defaultActionLevel;
/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 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 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;
/plugin/quickstats/GEOIP/
H A Dgeoipcity.inc73 $record = new geoiprecord;
76 $record->country_code = $gi->GEOIP_COUNTRY_CODES[$char];
77 $record->country_code3 = $gi->GEOIP_COUNTRY_CODES3[$char];
78 $record->country_name = $gi->GEOIP_COUNTRY_NAMES[$char];
79 $record->continent_code = $gi->GEOIP_CONTINENT_CODES[$char];
123 $record->latitude = ($latitude / 10000) - 180;
128 $record->longitude = ($longitude / 10000) - 180;
131 if ($record->country_code == "US") {
136 $record->metro_code = $record->dma_code = floor($metroarea_combo / 1000);
137 $record->area_code = $metroarea_combo % 1000;
[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/airtable/
H A DREADME.md22 `{{airtable>type: "theType" | record-url: "theRecordURL"}}`
32 * `record`
35 * `record-url: ` - The table/record you wish to pull data from.
36 …* Within airtable, expand any record (by clicking on a field and pressing space) and copy the URL …
65 Any table query that results in one record will also be rendered as a 'record'.
67 `{{airtable>type: "record" | record-url: "theURL" | fields: "field1", "field2" | alt-tag: "ALT_TAG"…
77 `{{airtable>Type: "record" | Fields: "Photo ID", "Ref #", "Upload Date", "Photo" | record-url: "htt…
78 ![Record Example](images/record.png)
84 `{{airtable>type: "image" | record-url: "URL" | alt-tag: "ALT_TAG" | image-size: "IMG_SIZE" | posit…
108 `{{airtable>type: "text" | fields: "field1", "field2" | record-url: "theRecordURL"}}`
[all …]

123456789