Home
last modified time | relevance | path

Searched refs:record (Results 1 – 25 of 216) sorted by relevance

123456789

/plugin/docimporter/
H A DSyntaxConverter.php65 $this->record = $record;
77 $record = $this->convertCodeBlocks($this->record);
78 $record = $this->convertHeadings($record);
79 $record = $this->convertList($record);
80 $record = $this->convertUrlText($record);
81 $record = $this->convertLink($record);
82 $record = $this->convertDoubleSlash($record);
83 $record = $this->convertBoldItalic($record);
84 $record = $this->convertTalks($record);
85 $record = $this->convertImagesFiles($record);
[all …]
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Formatter/
H A DLogstashFormatter.php64 public function format(array $record): string argument
66 $record = parent::format($record);
68 if (empty($record['datetime'])) {
69 $record['datetime'] = gmdate('c');
72 '@timestamp' => $record['datetime'],
76 if (isset($record['message'])) {
79 if (isset($record['channel'])) {
83 if (isset($record['level_name'])) {
86 if (isset($record['level'])) {
92 if (!empty($record['extra'])) {
[all …]
H A DWildfireFormatter.php63 if (isset($record['extra']['file'])) {
64 $file = $record['extra']['file'];
65 unset($record['extra']['file']);
67 if (isset($record['extra']['line'])) {
68 $line = $record['extra']['line'];
69 unset($record['extra']['line']);
73 $record = $this->normalize($record);
76 if ($record['context']) {
80 if ($record['extra']) {
90 $label = $record['channel'] .': '. $record['message'];
[all …]
H A DChromePHPFormatter.php42 public function format(array $record) argument
46 if (isset($record['extra']['file'], $record['extra']['line'])) {
47 $backtrace = $record['extra']['file'].' : '.$record['extra']['line'];
48 unset($record['extra']['file'], $record['extra']['line']);
52 if ($record['context']) {
55 if ($record['extra']) {
56 $message['extra'] = $record['extra'];
63 $record['channel'],
66 $this->logLevels[$record['level']],
77 foreach ($records as $record) {
[all …]
H A DFluentdFormatter.php58 public function format(array $record): string argument
60 $tag = $record['channel'];
62 $tag .= '.' . strtolower($record['level_name']);
66 'message' => $record['message'],
67 'context' => $record['context'],
68 'extra' => $record['extra'],
72 $message['level'] = $record['level'];
73 $message['level_name'] = $record['level_name'];
76 return Utils::jsonEncode([$tag, $record['datetime']->getTimestamp(), $message]);
82 foreach ($records as $record) {
[all …]
H A DFlowdockFormatter.php42 public function format(array $record): array argument
46 '#' . strtolower($record['level_name']),
47 '#' . $record['channel'],
50 foreach ($record['extra'] as $value) {
57 $record['level_name'],
58 $this->getShortMessage($record['message'])
61 $record['flowdock'] = [
65 'content' => $record['message'],
70 return $record;
82 foreach ($records as $record) {
[all …]
H A DGelfMessageFormatter.php86 public function format(array $record): Message argument
89 if (isset($record['context'])) {
91 $context = parent::normalize($record['context']);
93 if (isset($record['extra'])) {
95 $extra = parent::normalize($record['extra']);
98 if (!isset($record['datetime'], $record['message'], $record['level'])) {
104 ->setTimestamp($record['datetime'])
105 ->setShortMessage((string) $record['message'])
107 ->setLevel($this->logLevels[$record['level']]);
116 if (isset($record['channel'])) {
[all …]
H A DElasticsearchFormatter.php49 public function format(array $record) argument
51 $record = parent::format($record);
53 return $this->getDocument($record);
79 * @param mixed[] $record Log message
82 protected function getDocument(array $record): array argument
84 $record['_index'] = $this->index;
85 $record['_type'] = $this->type;
87 return $record;
H A DHtmlFormatter.php86 public function format(array $record): string argument
88 $output = $this->addTitle($record['level_name'], $record['level']);
91 $output .= $this->addRow('Message', (string) $record['message']);
92 $output .= $this->addRow('Time', $this->formatDate($record['datetime']));
93 $output .= $this->addRow('Channel', $record['channel']);
94 if ($record['context']) {
96 foreach ($record['context'] as $key => $value) {
102 if ($record['extra']) {
104 foreach ($record['extra'] as $key => $value) {
122 foreach ($records as $record) {
[all …]
H A DLogglyFormatter.php36 public function format(array $record): string argument
38 if (isset($record["datetime"]) && ($record["datetime"] instanceof \DateTimeInterface)) {
39 $record["timestamp"] = $record["datetime"]->format("Y-m-d\TH:i:s.uO");
40 unset($record["datetime"]);
43 return parent::format($record);
/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 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 DAmqpHandler.php57 protected function write(array $record): void argument
59 $data = $record["formatted"];
60 $routingKey = $this->getRoutingKey($record);
92 foreach ($records as $record) {
93 if (!$this->isHandling($record)) {
98 $record = $this->processRecord($record);
99 $data = $this->getFormatter()->format($record);
104 $this->getRoutingKey($record)
116 protected function getRoutingKey(array $record): string argument
118 $routingKey = sprintf('%s.%s', $record['level_name'], $record['channel']);
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 DAbstractProcessingHandler.php35 public function handle(array $record): bool argument
37 if (!$this->isHandling($record)) {
43 $record = $this->processRecord($record);
46 $record['formatted'] = $this->getFormatter()->format($record);
48 $this->write($record);
58 abstract protected function write(array $record): void; argument
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 DFilterHandler.php114 public function isHandling(array $record): bool argument
116 return isset($this->acceptedLevels[$record['level']]);
122 public function handle(array $record): bool argument
124 if (!$this->isHandling($record)) {
130 $record = $this->processRecord($record);
133 $this->getHandler($record)->handle($record);
144 foreach ($records as $record) {
145 if ($this->isHandling($record)) {
146 $filtered[] = $record;
164 public function getHandler(array $record = null) argument
[all …]
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 …]
/plugin/aichat/Storage/
H A DSQLiteStorage.php48 $record = $this->db->queryRecord('SELECT * FROM embeddings WHERE id = ?', [$chunkID]);
49 if (!$record) return null;
52 $record['page'],
53 $record['id'],
54 $record['chunk'],
55 json_decode((string) $record['embedding'], true, 512, JSON_THROW_ON_ERROR),
56 $record['lang'],
57 $record['created']
125 foreach ($result as $record) {
127 $record['pag
[all...]
/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']) {
/plugin/elasticsearch/vendor/psr/log/Psr/Log/Test/
H A DTestLogger.php12 * @method bool hasEmergency($record)
13 * @method bool hasAlert($record)
14 * @method bool hasCritical($record)
15 * @method bool hasError($record)
16 * @method bool hasWarning($record)
17 * @method bool hasNotice($record)
18 * @method bool hasInfo($record)
19 * @method bool hasDebug($record)
71 $record = [
77 $this->recordsByLevel[$record['leve
86 hasRecord($record, $level) global() argument
[all...]
/plugin/dw2pdf/vendor/psr/log/Psr/Log/Test/
H A DTestLogger.php12 * @method bool hasEmergency($record)
13 * @method bool hasAlert($record)
14 * @method bool hasCritical($record)
15 * @method bool hasError($record)
16 * @method bool hasWarning($record)
17 * @method bool hasNotice($record)
18 * @method bool hasInfo($record)
19 * @method bool hasDebug($record)
71 $record = [
77 $this->recordsByLevel[$record['leve
86 hasRecord($record, $level) global() argument
[all...]
/plugin/quickstats/GEOIP/vendor/geoip2/geoip2/src/Record/
H A DAbstractRecord.php7 private $record; variable in GeoIp2\\Record\\AbstractRecord
12 * @param mixed $record
14 public function __construct($record) argument
16 $this->record = isset($record) ? $record : [];
30 return $this->record[$key];
44 isset($this->record[$this->attributeToKey($attr)]);
59 return $this->record;
/plugin/quickstats/GEOIP/vendor/geoip2/geoip2/src/Database/
H A DReader.php22 * the method you called. This model in turn contains multiple record classes,
25 * on the record class will have a `null` value.
215 $record = $this->getRecord($class, $type, $ipAddress);
217 $record['traits']['ip_address'] = $ipAddress;
220 return new $class($record, $this->locales);
225 $record = $this->getRecord($class, $type, $ipAddress);
227 $record['ip_address'] = $ipAddress;
230 return new $class($record);
242 $record = $this->dbReader->get($ipAddress);
243 if ($record
[all...]
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Processor/
H A DPsrLogMessageProcessor.php46 public function __invoke(array $record): array argument
48 if (false === strpos($record['message'], '{')) {
49 return $record;
53 foreach ($record['context'] as $key => $val) {
55 if (strpos($record['message'], $placeholder) === false) {
78 unset($record['context'][$key]);
82 $record['message'] = strtr($record['message'], $replacements);
84 return $record;

123456789