Home
last modified time | relevance | path

Searched refs:record (Results 51 – 75 of 216) sorted by last modified time

123456789

/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
H A DNewRelicHandler.php76 protected function write(array $record): void argument
82 if ($appName = $this->getAppName($record['context'])) {
88 unset($record['formatted']['context']['transaction_name']);
91 …if (isset($record['context']['exception']) && $record['context']['exception'] instanceof \Throwabl…
92 newrelic_notice_error($record['message'], $record['context']['exception']);
93 unset($record['formatted']['context']['exception']);
95 newrelic_notice_error($record['message']);
98 if (isset($record['formatted']['context']) && is_array($record['formatted']['context'])) {
99 foreach ($record['formatted']['context'] as $key => $parameter) {
110 if (isset($record['formatted']['extra']) && is_array($record['formatted']['extra'])) {
[all …]
H A DNullHandler.php48 public function isHandling(array $record): bool argument
50 return $record['level'] >= $this->level;
56 public function handle(array $record): bool argument
58 return $record['level'] >= $this->level;
H A DOverflowHandler.php90 public function handle(array $record): bool argument
92 if ($record['level'] < $this->level) {
96 $level = $record['level'];
105 $this->buffer[$level][] = $record;
119 $this->handler->handle($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 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 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 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 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 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']]
H A DCouchDBHandler.php47 protected function write(array $record): void argument
H A DDoctrineCouchDBHandler.php38 protected function write(array $record): void argument
40 $this->client->postDocument($record['formatted']);
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 DErrorLogHandler.php74 protected function write(array $record): void argument
77 error_log((string) $record['formatted'], $this->messageType);
82 $lines = preg_split('{[\r\n]+}', (string) $record['formatted']);
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 DIFTTTHandler.php54 public function write(array $record): void argument
57 "value1" => $record["channel"],
58 "value2" => $record["level_name"],
59 "value3" => $record["message"],
H A DInsightOpsHandler.php72 protected function generateDataStream(array $record): string argument
74 return $this->logToken . ' ' . $record['formatted'];
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Processor/
H A DHostnameProcessor.php30 public function __invoke(array $record): array argument
32 $record['extra']['hostname'] = self::$host;
34 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 DTagProcessor.php55 public function __invoke(array $record): array argument
57 $record['extra']['tags'] = $this->tags;
59 return $record;
H A DUidProcessor.php38 public function __invoke(array $record): array argument
40 $record['extra']['uid'] = $this->uid;
42 return $record;
H A DWebProcessor.php79 public function __invoke(array $record): array argument
84 return $record;
87 $record['extra'] = $this->appendExtraFields($record['extra']);
89 return $record;
/plugin/authgooglesheets/vendor/psr/log/Psr/Log/Test/
H A DTestLogger.php71 $record = [
77 $this->recordsByLevel[$record['level']][] = $record;
78 $this->records[] = $record;
86 public function hasRecord($record, $level) argument
88 if (is_string($record)) {
89 $record = ['message' => $record];
91 return $this->hasRecordThatPasses(function ($rec) use ($record) {
92 if ($rec['message'] !== $record['message']) {
95 if (isset($record['context']) && $rec['context'] !== $record['context']) {

123456789