Home
last modified time | relevance | path

Searched refs:record (Results 51 – 75 of 216) sorted by path

123456789

/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
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 DFirePHPHandler.php97 $record['formatted']
143 protected function write(array $record): void argument
163 $header = $this->createRecordHeader($record);
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 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 DGelfHandler.php45 protected function write(array $record): void argument
47 $this->publisher->publish($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 DHandler.php26 foreach ($records as $record) {
27 $this->handle($record);
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 DHandlerWrapper.php49 public function isHandling(array $record): bool argument
51 return $this->handler->isHandling($record);
57 public function handle(array $record): bool argument
59 return $this->handler->handle($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'];
H A DLogEntriesHandler.php66 protected function generateDataStream(array $record): string argument
68 return $this->logToken . ' ' . $record['formatted'];
H A DLogglyHandler.php122 protected function write(array $record): void argument
124 $this->send($record["formatted"], static::ENDPOINT_SINGLE);
131 $records = array_filter($records, function ($record) use ($level) {
132 return ($record['level'] >= $level);
H A DLogmaticHandler.php85 protected function generateDataStream(array $record): string argument
87 return $this->logToken . ' ' . $record['formatted'];
H A DMailHandler.php33 foreach ($records as $record) {
34 if ($record['level'] < $this->level) {
38 $message = $this->processRecord($record);
60 protected function write(array $record): void argument
62 $this->send((string) $record['formatted'], [$record]);
72 foreach ($records as $record) {
73 if ($highestRecord === null || $highestRecord['level'] < $record['level']) {
74 $highestRecord = $record;
H A DMongoDBHandler.php66 protected function write(array $record): void argument
69 $this->collection->insertOne($record['formatted']);
74 $bulk->insert($record["formatted"]);
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 DNoopHandler.php28 public function isHandling(array $record): bool argument
36 public function handle(array $record): bool argument
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 DProcessHandler.php86 protected function write(array $record): void argument
90 $this->writeProcessInput($record['formatted']);
H A DProcessableHandlerTrait.php60 protected function processRecord(array $record): array argument
63 $record = $processor($record);
66 return $record;
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 DPushoverHandler.php139 protected function generateDataStream(array $record): string argument
141 $content = $this->buildContent($record);
149 private function buildContent(array $record): string argument
154 $message = ($this->useFormattedMessage) ? $record['formatted'] : $record['message'];
157 $timestamp = $record['datetime']->getTimestamp();
167 if (isset($record['level']) && $record['level'] >= $this->emergencyLevel) {
171 } elseif (isset($record['level']) && $record['level'] >= $this->highPriorityLevel) {
176 $context = array_intersect_key($record['context'], $this->parameterNames);
177 $extra = array_intersect_key($record['extra'], $this->parameterNames);
201 protected function write(array $record): void argument
[all …]
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"]);

123456789