log(RfcLogLevel::EMERGENCY, $message, $context); } /** * {@inheritdoc} */ public function alert(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::ALERT, $message, $context); } /** * {@inheritdoc} */ public function critical(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::CRITICAL, $message, $context); } /** * {@inheritdoc} */ public function error(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::ERROR, $message, $context); } /** * {@inheritdoc} */ public function warning(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::WARNING, $message, $context); } /** * {@inheritdoc} */ public function notice(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::NOTICE, $message, $context); } /** * {@inheritdoc} */ public function info(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::INFO, $message, $context); } /** * {@inheritdoc} */ public function debug(string|\Stringable $message, array $context = []): void { $this->log(RfcLogLevel::DEBUG, $message, $context); } /** * {@inheritdoc} */ abstract public function log($level, string|\Stringable $message, array $context = []): void; }