YoastSEO_Vendor\Psr\Log
AbstractLogger::warning() public Yoast 1.0
Exceptional occurrences that are not errors.
Example: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.
{} Это метод класса: AbstractLogger{}
Хуков нет.
Возвращает
null
. Null. Ничего.
Использование
$AbstractLogger = new AbstractLogger(); $AbstractLogger->warning( $message, $context );
- $message(строка) (обязательный)
- -
- $context(массив)
- -
Код AbstractLogger::warning() AbstractLogger::warning Yoast 16.1.1
public function warning($message, array $context = array())
{
$this->log(\YoastSEO_Vendor\Psr\Log\LogLevel::WARNING, $message, $context);
}