WC_Logger_Interface::warning()publicWC 1.0

Adds a warning level message.

Exceptional occurrences that are not errors.

Example: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.

Метод класса: WC_Logger_Interface{}

Хуков нет.


null. Ничего (null).


$WC_Logger_Interface = new WC_Logger_Interface();
$WC_Logger_Interface->warning( $message, $context );
$message(строка) (обязательный)
Log message.
Additional information for log handlers.
По умолчанию: array()

Код WC_Logger_Interface::warning() WC 8.7.0

public function warning( $message, $context = array() );