Lines Matching refs:context

287      * @param  mixed[] $context The log context
292 public function addRecord(int $level, string $message, array $context = []): bool argument
307 'context' => $context,
489 * @param mixed[] $context The log context
493 public function log($level, $message, array $context = []): void argument
501 $this->addRecord($level, (string) $message, $context);
510 * @param mixed[] $context The log context
512 public function debug($message, array $context = []): void argument
514 $this->addRecord(static::DEBUG, (string) $message, $context);
523 * @param mixed[] $context The log context
525 public function info($message, array $context = []): void argument
527 $this->addRecord(static::INFO, (string) $message, $context);
536 * @param mixed[] $context The log context
538 public function notice($message, array $context = []): void argument
540 $this->addRecord(static::NOTICE, (string) $message, $context);
549 * @param mixed[] $context The log context
551 public function warning($message, array $context = []): void argument
553 $this->addRecord(static::WARNING, (string) $message, $context);
562 * @param mixed[] $context The log context
564 public function error($message, array $context = []): void argument
566 $this->addRecord(static::ERROR, (string) $message, $context);
575 * @param mixed[] $context The log context
577 public function critical($message, array $context = []): void argument
579 $this->addRecord(static::CRITICAL, (string) $message, $context);
588 * @param mixed[] $context The log context
590 public function alert($message, array $context = []): void argument
592 $this->addRecord(static::ALERT, (string) $message, $context);
601 * @param mixed[] $context The log context
603 public function emergency($message, array $context = []): void argument
605 $this->addRecord(static::EMERGENCY, (string) $message, $context);