Home
last modified time | relevance | path

Searched refs:record (Results 26 – 50 of 216) sorted by last modified time

123456789

/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
H A DFirePHPHandler.php97 $record['formatted']
143 protected function write(array $record): void argument
163 $header = $this->createRecordHeader($record);
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 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 DNoopHandler.php28 public function isHandling(array $record): bool argument
36 public function handle(array $record): bool argument
H A DRotatingFileHandler.php113 protected function write(array $record): void argument
120 if ($this->nextRotation <= $record['datetime']) {
125 parent::write($record);
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;
/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/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 …]
H A DUtils.php267 public static function getRecordMessageForException(array $record): string argument
272 if ($record['context']) {
273 $context = "\nContext: " . json_encode($record['context']);
275 if ($record['extra']) {
276 $extra = "\nExtra: " . json_encode($record['extra']);
282 …return "\nThe exception occurred while attempting to log: " . $record['message'] . $context . $ext…
/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 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;
H A DMemoryPeakUsageProcessor.php25 public function __invoke(array $record): array argument
33 $record['extra']['memory_peak_usage'] = $usage;
35 return $record;
H A DProcessIdProcessor.php24 public function __invoke(array $record): array argument
26 $record['extra']['process_id'] = getmypid();
28 return $record;
H A DProcessorInterface.php29 public function __invoke(array $record); argument
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;
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Test/
H A DTestCase.php68 ->will($this->returnCallback(function ($record) {
69 return $record['message'];
/plugin/authgooglesheets/vendor/monolog/monolog/
H A DCHANGELOG.md8 …ce that can be used to type-hint records like `array|\Monolog\LogRecord $record` to be forward com…
16 …* Added record message/context/extra info to exceptions thrown when a StreamHandler cannot open it…
137 * BC Break: The record timezone is now set per Logger instance and not statically anymore
142 …* Added DateTimeImmutable support, all record datetime are now immutable, and will toString/json s…
309 …* Fixed JSON encoding errors that would gobble up the whole log record, we now handle those more g…
354 * Added PHPConsoleHandler to send record to Chrome's PHP Console extension and library
358 …* Added an option to send formatted message instead of the raw record on PushoverHandler via ->use…
378 …* Break: HandlerInterface::isHandling now receives a partial record containing only a level key. T…
380 * Added SamplingHandler to wrap around a handler and include only every Nth record
442 * Added GitProcessor to add the current branch/commit to extra record data
[all …]
H A DUPGRADE.md13 - The `datetime` in every record array is now a DateTimeImmutable, not that you
39 - Log levels are not shortened to 4 characters anymore. e.g. a warning record
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Formatter/
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 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 DLineFormatter.php79 public function format(array $record): string argument
81 $vars = parent::format($record);
132 foreach ($records as $record) {
133 $message .= $this->format($record);
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 …]

123456789