YoastSEO_Vendor\Psr\Log
AbstractLogger::alert() public Yoast 1.0
Action must be taken immediately.
Example: Entire website down, database unavailable, etc. This should trigger the SMS alerts and wake you up.
{} Это метод класса: AbstractLogger{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$AbstractLogger = new AbstractLogger(); $AbstractLogger->alert( $message, $context );
- $message(строка) (обязательный)
- -
- $context(массив)
- -
Код AbstractLogger::alert() AbstractLogger::alert Yoast 16.1.1
public function alert($message, array $context = array())
{
$this->log(\YoastSEO_Vendor\Psr\Log\LogLevel::ALERT, $message, $context);
}