/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/ |
H A D | FingersCrossedHandler.php | 110 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 D | FirePHPHandler.php | 97 $record['formatted'] 143 protected function write(array $record): void argument 163 $header = $this->createRecordHeader($record);
|
H A D | FleepHookHandler.php | 92 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 D | FlowdockHandler.php | 92 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 D | GelfHandler.php | 45 protected function write(array $record): void argument 47 $this->publisher->publish($record['formatted']);
|
H A D | GroupHandler.php | 52 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 D | Handler.php | 26 foreach ($records as $record) { 27 $this->handle($record);
|
H A D | HandlerInterface.php | 33 * @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 D | HandlerWrapper.php | 49 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 D | IFTTTHandler.php | 54 public function write(array $record): void argument 57 "value1" => $record["channel"], 58 "value2" => $record["level_name"], 59 "value3" => $record["message"],
|
H A D | InsightOpsHandler.php | 72 protected function generateDataStream(array $record): string argument 74 return $this->logToken . ' ' . $record['formatted'];
|
H A D | LogEntriesHandler.php | 66 protected function generateDataStream(array $record): string argument 68 return $this->logToken . ' ' . $record['formatted'];
|
H A D | LogglyHandler.php | 122 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 D | LogmaticHandler.php | 85 protected function generateDataStream(array $record): string argument 87 return $this->logToken . ' ' . $record['formatted'];
|
H A D | MailHandler.php | 33 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 D | MongoDBHandler.php | 66 protected function write(array $record): void argument 69 $this->collection->insertOne($record['formatted']); 74 $bulk->insert($record["formatted"]);
|
H A D | NewRelicHandler.php | 76 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 D | NoopHandler.php | 28 public function isHandling(array $record): bool argument 36 public function handle(array $record): bool argument
|
H A D | NullHandler.php | 48 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 D | OverflowHandler.php | 90 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 D | ProcessHandler.php | 86 protected function write(array $record): void argument 90 $this->writeProcessInput($record['formatted']);
|
H A D | ProcessableHandlerTrait.php | 60 protected function processRecord(array $record): array argument 63 $record = $processor($record); 66 return $record;
|
H A D | PsrHandler.php | 54 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 D | PushoverHandler.php | 139 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 D | RedisHandler.php | 61 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"]);
|